mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
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:
@@ -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