Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/Plugins/NotificationsPlugin/AppDatabase.java
Show All 27 Lines | |||||
28 | 28 | | |||
29 | import java.util.HashSet; | 29 | import java.util.HashSet; | ||
30 | 30 | | |||
31 | class AppDatabase { | 31 | class AppDatabase { | ||
32 | 32 | | |||
33 | static final private HashSet<String> disabledByDefault = new HashSet<>(); | 33 | static final private HashSet<String> disabledByDefault = new HashSet<>(); | ||
34 | 34 | | |||
35 | static { | 35 | static { | ||
36 | disabledByDefault.add("com.android.messaging"); //We already have sms notifications in the telephony plugin | | |||
37 | disabledByDefault.add("com.google.android.googlequicksearchbox"); //Google Now notifications re-spawn every few minutes | 36 | disabledByDefault.add("com.google.android.googlequicksearchbox"); //Google Now notifications re-spawn every few minutes | ||
38 | } | 37 | } | ||
39 | 38 | | |||
40 | private static final String KEY_PACKAGE_NAME = "packageName"; | 39 | private static final String KEY_PACKAGE_NAME = "packageName"; | ||
41 | private static final String KEY_IS_ENABLED = "isEnabled"; | 40 | private static final String KEY_IS_ENABLED = "isEnabled"; | ||
42 | 41 | | |||
43 | private static final String DATABASE_NAME = "Applications"; | 42 | private static final String DATABASE_NAME = "Applications"; | ||
44 | private static final String DATABASE_TABLE = "Applications"; | 43 | private static final String DATABASE_TABLE = "Applications"; | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |