Choose a pref key less likely to conflict
Test: manual Fixes: 127498706 Change-Id: I254cef727df137abac5810f19e63449a7f582876
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
android:order="1001"
|
android:order="1001"
|
||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
||||||
<com.android.settingslib.RestrictedSwitchPreference
|
<com.android.settingslib.RestrictedSwitchPreference
|
||||||
android:key="bubble"
|
android:key="bubble_pref"
|
||||||
android:title="@string/notification_bubbles_title"
|
android:title="@string/notification_bubbles_title"
|
||||||
android:order="1002"
|
android:order="1002"
|
||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
||||||
|
@@ -87,7 +87,7 @@
|
|||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin"/>
|
settings:restrictedSwitchSummary="@string/enabled_by_admin"/>
|
||||||
|
|
||||||
<com.android.settingslib.RestrictedSwitchPreference
|
<com.android.settingslib.RestrictedSwitchPreference
|
||||||
android:key="bubble"
|
android:key="bubble_pref"
|
||||||
android:title="@string/notification_bubbles_title"
|
android:title="@string/notification_bubbles_title"
|
||||||
android:order="16"
|
android:order="16"
|
||||||
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
settings:restrictedSwitchSummary="@string/enabled_by_admin" />
|
||||||
|
@@ -30,7 +30,7 @@ public class BubblePreferenceController extends NotificationPreferenceController
|
|||||||
implements PreferenceControllerMixin, Preference.OnPreferenceChangeListener {
|
implements PreferenceControllerMixin, Preference.OnPreferenceChangeListener {
|
||||||
|
|
||||||
private static final String TAG = "BubblePrefContr";
|
private static final String TAG = "BubblePrefContr";
|
||||||
private static final String KEY = "bubble";
|
private static final String KEY = "bubble_pref";
|
||||||
private static final int SYSTEM_WIDE_ON = 1;
|
private static final int SYSTEM_WIDE_ON = 1;
|
||||||
private static final int SYSTEM_WIDE_OFF = 0;
|
private static final int SYSTEM_WIDE_OFF = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user