From 1dba626f1af2b00f3d875e1b49a0aa8ff1b0b6ca Mon Sep 17 00:00:00 2001 From: Sai Cheemalapati Date: Tue, 29 Jul 2014 10:35:24 -0700 Subject: Added base analytics classes to AOSP Dialer. These classes will be no-ops in AOSP Dialer; they will implement analytics in GoogleDialer. Change-Id: I69122b442f44b163289e5257795fe2e6ef8a9a7a --- .../dialerbind/analytics/AnalyticsActivity.java | 22 ++++++++++++++++++++++ .../dialerbind/analytics/AnalyticsFragment.java | 22 ++++++++++++++++++++++ .../analytics/AnalyticsListFragment.java | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 src/com/android/dialerbind/analytics/AnalyticsActivity.java create mode 100644 src/com/android/dialerbind/analytics/AnalyticsFragment.java create mode 100644 src/com/android/dialerbind/analytics/AnalyticsListFragment.java diff --git a/src/com/android/dialerbind/analytics/AnalyticsActivity.java b/src/com/android/dialerbind/analytics/AnalyticsActivity.java new file mode 100644 index 000000000..7c031f499 --- /dev/null +++ b/src/com/android/dialerbind/analytics/AnalyticsActivity.java @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.dialerbind.analytics; + +import android.app.Activity; + +public class AnalyticsActivity extends Activity { +} diff --git a/src/com/android/dialerbind/analytics/AnalyticsFragment.java b/src/com/android/dialerbind/analytics/AnalyticsFragment.java new file mode 100644 index 000000000..222509d46 --- /dev/null +++ b/src/com/android/dialerbind/analytics/AnalyticsFragment.java @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.dialerbind.analytics; + +import android.app.Fragment; + +public class AnalyticsFragment extends Fragment { +} diff --git a/src/com/android/dialerbind/analytics/AnalyticsListFragment.java b/src/com/android/dialerbind/analytics/AnalyticsListFragment.java new file mode 100644 index 000000000..aaeb5f140 --- /dev/null +++ b/src/com/android/dialerbind/analytics/AnalyticsListFragment.java @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.dialerbind.analytics; + +import android.app.ListFragment; + +public class AnalyticsListFragment extends ListFragment { +} -- cgit v1.2.3