Hide colored notification on O standard notification
This commit is contained in:
parent
571e87f9b6
commit
f581b40f33
4 changed files with 33 additions and 7 deletions
|
|
@ -158,6 +158,12 @@ public final class PreferenceUtil {
|
|||
return mPreferences.getBoolean(CLASSIC_NOTIFICATION, false);
|
||||
}
|
||||
|
||||
public void setColoredNotification(final boolean value) {
|
||||
final SharedPreferences.Editor editor = mPreferences.edit();
|
||||
editor.putBoolean(COLORED_NOTIFICATION, value);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
public void setClassicNotification(final boolean value) {
|
||||
final SharedPreferences.Editor editor = mPreferences.edit();
|
||||
editor.putBoolean(CLASSIC_NOTIFICATION, value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue