diff options
| author | 2023-09-28 13:41:33 -0400 | |
|---|---|---|
| committer | 2023-09-28 13:41:33 -0400 | |
| commit | d28861e229e100e79bf4e88d2e0d88393125f865 (patch) | |
| tree | 7f8e3302dee1a6787b1aee8ee5b430c0322159be | |
| parent | d346a1f1651d0e83cf8216997e67705f74c6e13e (diff) | |
Make DEBUG not static
This fixes issues with Robolectric tests
Test: atest SystemUiRoboTests
Fixes: 298648655
Change-Id: Ia2ab939676cd6978649a3102ca2a0047b39ca0f1
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java index 70df09d0876b..69fe46aa9009 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileImpl.java @@ -83,7 +83,7 @@ import java.util.ArrayList; */ public abstract class QSTileImpl<TState extends State> implements QSTile, LifecycleOwner, Dumpable { protected final String TAG = "Tile." + getClass().getSimpleName(); - protected static final boolean DEBUG = Log.isLoggable("Tile", Log.DEBUG); + protected final boolean DEBUG = Log.isLoggable("Tile", Log.DEBUG); private static final long DEFAULT_STALE_TIMEOUT = 10 * DateUtils.MINUTE_IN_MILLIS; protected static final Object ARG_SHOW_TRANSIENT_ENABLING = new Object(); |