Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96b42271 authored by Bruno Martins's avatar Bruno Martins Committed by Michael Bestas
Browse files

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
(cherry picked from commit d16f2f86)
(cherry picked from commit a1677f48)
parent 31501616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,6 +80,6 @@ public class NotificationChannelWarningsPreferenceController extends

    @VisibleForTesting
    boolean isDebuggable() {
        return Build.IS_DEBUGGABLE;
        return Build.IS_ENG;
    }
}