summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/notificationlight/NotificationLightSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/notificationlight/NotificationLightSettings.java b/src/com/android/settings/notificationlight/NotificationLightSettings.java
index c4b55d4..b17918a 100644
--- a/src/com/android/settings/notificationlight/NotificationLightSettings.java
+++ b/src/com/android/settings/notificationlight/NotificationLightSettings.java
@@ -286,7 +286,7 @@ public class NotificationLightSettings extends SettingsPreferenceFragment implem
}
/* Display a pref explaining how to add apps */
- if (mPackages.size() == 0) {
+ if (mApplicationPrefList.getPreferenceCount() == 0) {
String summary = getResources().getString(
R.string.notification_light_no_apps_summary);
String useCustom = getResources().getString(