summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialerbind
diff options
context:
space:
mode:
authorSai Cheemalapati <saicheems@google.com>2014-07-29 15:55:46 -0700
committerSai Cheemalapati <saicheems@google.com>2014-07-30 10:54:48 -0700
commita610bd6e2aecf06bf6d14f869bad68e0110d3fe3 (patch)
treeee532ecc4788778b2b011b9f5de6b8bceecc7590 /src/com/android/dialerbind
parent7687a1c087e2018bf5d8ff6e567d4b2f048f95e2 (diff)
downloadandroid_packages_apps_Dialer-a610bd6e2aecf06bf6d14f869bad68e0110d3fe3.tar.gz
android_packages_apps_Dialer-a610bd6e2aecf06bf6d14f869bad68e0110d3fe3.tar.bz2
android_packages_apps_Dialer-a610bd6e2aecf06bf6d14f869bad68e0110d3fe3.zip
Changing Dialer Fragments to implement Analytics.
Dialer's Fragments now implement AnalyticsFragment. All Fragments now have access to sendHitEvent, which is a no op in AOSP Dialer. Change-Id: Ife6ab7d5369a1c96caaedbe1c59e6d07a0adae87
Diffstat (limited to 'src/com/android/dialerbind')
-rw-r--r--src/com/android/dialerbind/analytics/AnalyticsActivity.java24
-rw-r--r--src/com/android/dialerbind/analytics/AnalyticsFragment.java24
-rw-r--r--src/com/android/dialerbind/analytics/AnalyticsInterface.java21
-rw-r--r--src/com/android/dialerbind/analytics/AnalyticsListFragment.java24
-rw-r--r--src/com/android/dialerbind/analytics/AnalyticsPreferenceActivity.java24
5 files changed, 0 insertions, 117 deletions
diff --git a/src/com/android/dialerbind/analytics/AnalyticsActivity.java b/src/com/android/dialerbind/analytics/AnalyticsActivity.java
deleted file mode 100644
index 9abe1ab3e..000000000
--- a/src/com/android/dialerbind/analytics/AnalyticsActivity.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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 implements AnalyticsInterface {
- public void sendHitEvent(String categoryId, String actionId, String labelId) {
- }
-}
diff --git a/src/com/android/dialerbind/analytics/AnalyticsFragment.java b/src/com/android/dialerbind/analytics/AnalyticsFragment.java
deleted file mode 100644
index 8ebe7ce18..000000000
--- a/src/com/android/dialerbind/analytics/AnalyticsFragment.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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 implements AnalyticsInterface {
- public void sendHitEvent(String categoryId, String actionId, String labelId) {
- }
-}
diff --git a/src/com/android/dialerbind/analytics/AnalyticsInterface.java b/src/com/android/dialerbind/analytics/AnalyticsInterface.java
deleted file mode 100644
index ddc1b3fed..000000000
--- a/src/com/android/dialerbind/analytics/AnalyticsInterface.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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;
-
-public interface AnalyticsInterface {
- public void sendHitEvent(String categoryId, String actionId, String labelId);
-}
diff --git a/src/com/android/dialerbind/analytics/AnalyticsListFragment.java b/src/com/android/dialerbind/analytics/AnalyticsListFragment.java
deleted file mode 100644
index bc668aa7a..000000000
--- a/src/com/android/dialerbind/analytics/AnalyticsListFragment.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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 implements AnalyticsInterface {
- public void sendHitEvent(String categoryId, String actionId, String labelId) {
- }
-}
diff --git a/src/com/android/dialerbind/analytics/AnalyticsPreferenceActivity.java b/src/com/android/dialerbind/analytics/AnalyticsPreferenceActivity.java
deleted file mode 100644
index c411387f5..000000000
--- a/src/com/android/dialerbind/analytics/AnalyticsPreferenceActivity.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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.preference.PreferenceActivity;
-
-public class AnalyticsPreferenceActivity extends PreferenceActivity implements AnalyticsInterface {
- public void sendHitEvent(String categoryId, String actionId, String labelId) {
- }
-}