diff options
author | Bruno Martins <bgcngm@gmail.com> | 2017-11-21 23:28:05 +0000 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-02 09:56:20 +0800 |
commit | b6f6fd1e59bf8b59e3eb35a4ad693ae66679b082 (patch) | |
tree | 96935d99254ad4af1d58c7d0477d4a40cfe9838c /src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java | |
parent | e9f57e2a5db571a1d72bc9f44ae4800116abcb5c (diff) |
Settings: Disable notification channel warnings by default
* Since we usually ship "userdebug" builds, it is better to globally
disable the toast because we are not in control of third-party apps
that haven't been properly aligned with new Oreo requirements.
* Leave it enabled by default only for "eng" builds
Change-Id: Ie5cdec1cbdd3285af3af730dac4a5de95ad8b334
Diffstat (limited to 'src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java')
-rw-r--r-- | src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java b/src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java index 775b70871f..104fcde17d 100644 --- a/src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java +++ b/src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java @@ -80,6 +80,6 @@ public class NotificationChannelWarningsPreferenceController extends @VisibleForTesting boolean isDebuggable() { - return Build.IS_DEBUGGABLE; + return Build.IS_ENG; } } |