summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notification/NotificationAccessSettings.java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-04-10 11:59:54 -0400
committerJohn Spurlock <jspurlock@google.com>2015-04-13 12:19:55 -0400
commitc96a5dcbfc3f37f71e8b3e8b962f9571b1e7ceaf (patch)
treef705752a83dc3bcabcea1d9ac69e0682d13251dd /src/com/android/settings/notification/NotificationAccessSettings.java
parent3b1a4c6cc2afe590407819fc66c30e9361862950 (diff)
downloadpackages_apps_Settings-c96a5dcbfc3f37f71e8b3e8b962f9571b1e7ceaf.zip
packages_apps_Settings-c96a5dcbfc3f37f71e8b3e8b962f9571b1e7ceaf.tar.gz
packages_apps_Settings-c96a5dcbfc3f37f71e8b3e8b962f9571b1e7ceaf.tar.bz2
Settings: External automatic rule settings.
- Add external automatic rule settings page with the common settings for all rules (enabled, name, zen mode). - Pull common rule-instance settings into settings base class, share with existing schedule rule settings. - New page not searchable since it is at the rule-instance level. - Obtain external rule information from existing conditions provider metadata. Includes rule type caption, sub-configuration activity, and default condition id. - If external condition providers exist with the appropriate metadata, display the external rule types as options in the new rule dialog. (max of 3 external types) - Pull common managed service listing code out of common settings base class and into a more reusable helper class. Bug: 20064962 Change-Id: Ibc13607490b7312a7d9f7f3bd61c3cfcf71a2794
Diffstat (limited to 'src/com/android/settings/notification/NotificationAccessSettings.java')
-rw-r--r--src/com/android/settings/notification/NotificationAccessSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/notification/NotificationAccessSettings.java b/src/com/android/settings/notification/NotificationAccessSettings.java
index ced71a4..5104d4a 100644
--- a/src/com/android/settings/notification/NotificationAccessSettings.java
+++ b/src/com/android/settings/notification/NotificationAccessSettings.java
@@ -46,10 +46,10 @@ public class NotificationAccessSettings extends ManagedServiceSettings {
}
public static int getListenersCount(PackageManager pm) {
- return getServicesCount(CONFIG, pm);
+ return ServiceListing.getServicesCount(CONFIG, pm);
}
public static int getEnabledListenersCount(Context context) {
- return getEnabledServicesCount(CONFIG, context);
+ return ServiceListing.getEnabledServicesCount(CONFIG, context);
}
}