Hide colored notification on O standard notification

This commit is contained in:
Karim Abou Zeid 2017-09-04 21:19:31 +02:00
commit f581b40f33
4 changed files with 33 additions and 7 deletions

View file

@ -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);