Adding support for customize highlight region in preference
> Also fixing notification dots setting not getting highlighted Bug: 184747760 Test: Manual Change-Id: Ic9c2bfbb9750bed60afc14e824181f650c8cff33
This commit is contained in:
1 parent
fc3bc6098f
commit
76e8fdc2bc
4 files changed
+37
-15
No files matched your search
@@ -85,6 +85,12 @@ public class NotificationDotsPreference extends Preference
|
||||
Settings.Secure.getUriFor(NOTIFICATION_ENABLED_LISTENERS),
|
||||
false, mListenerListObserver);
|
||||
updateUI();
|
||||
|
||||
// Update intent
|
||||
Bundle extras = new Bundle();
|
||||
extras.putString(EXTRA_FRAGMENT_ARG_KEY, "notification_badging");
|
||||
setIntent(new Intent("android.settings.NOTIFICATION_SETTINGS")
|
||||
.putExtra(EXTRA_SHOW_FRAGMENT_ARGS, extras));
|
||||
}
|
||||
|
||||
private void updateUI() {
|
||||
|
||||
Reference in new issue
Block a user