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

Commit 1f9890e3 authored by Han Wang's avatar Han Wang Committed by Michael Bestas
Browse files

SystemUI: Disable heads up debugging on non eng builds

 * Causes much logspam, especially when using Clash/Shadowsocks
   because notification is updated every second.

Test: m, no logspam anymore
Change-Id: Ibe2db6afa18ebc68032730d81c29fb4cfaf8601f
parent 7a2d2fdb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.app.NotificationManager;
import android.content.ContentResolver;
import android.database.ContentObserver;
import android.hardware.display.AmbientDisplayConfiguration;
import android.os.Build;
import android.os.Handler;
import android.os.PowerManager;
import android.os.RemoteException;
@@ -52,8 +53,8 @@ import javax.inject.Inject;
@SysUISingleton
public class NotificationInterruptStateProviderImpl implements NotificationInterruptStateProvider {
    private static final String TAG = "InterruptionStateProvider";
    private static final boolean DEBUG = true; //false;
    private static final boolean DEBUG_HEADS_UP = true;
    private static final boolean DEBUG = Build.IS_ENG;
    private static final boolean DEBUG_HEADS_UP = Build.IS_ENG;
    private static final boolean ENABLE_HEADS_UP = true;
    private static final String SETTING_HEADS_UP_TICKER = "ticker_gets_heads_up";