Secure => global bubble settings pt 2
Follow up to http://ag/8222583 - Replace references to Secure.NOTIFICATION_BUBBLES with Global.NOTIFICATION_BUBBLES Fixes: 136034310 Bug: 129158983 Test: atest SystemUITests Test: manual - work profile bubbles show up Change-Id: I03ffd7f1126f2c20d819f741cd4f7dcced81a405
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
package com.android.settings.notification;
|
||||
|
||||
import static android.provider.Settings.Secure.NOTIFICATION_BUBBLES;
|
||||
import static android.provider.Settings.Global.NOTIFICATION_BUBBLES;
|
||||
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.content.Context;
|
||||
@@ -100,7 +100,7 @@ public class BubbleSummaryPreferenceController extends NotificationPreferenceCon
|
||||
}
|
||||
|
||||
private boolean isGloballyEnabled() {
|
||||
return Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
return Settings.Global.getInt(mContext.getContentResolver(),
|
||||
NOTIFICATION_BUBBLES, SYSTEM_WIDE_OFF) == SYSTEM_WIDE_ON;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user