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

Commit af5dbf48 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Disabled some DEBUG constants." into qt-qpr1-dev am: e8d9d331

Change-Id: I7d4e49253b1ecd54dc8036e21e23e7392aa47602
parents e6303aaa e8d9d331
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -41,8 +41,7 @@ final class DisabledWallpaperManager extends WallpaperManager {
    // Don't need to worry about synchronization
    private static DisabledWallpaperManager sInstance;

    // TODO(b/138939803): STOPSHIP changed to false and/or remove it
    private static final boolean DEBUG = true;
    private static final boolean DEBUG = false;

    @NonNull
    static DisabledWallpaperManager getInstance() {
@@ -66,10 +65,6 @@ final class DisabledWallpaperManager extends WallpaperManager {
        return false;
    }

    // TODO(b/138939803): STOPSHIP methods below should not be necessary,
    // callers should check if isWallpaperSupported(), consider removing them to keep this class
    // simpler

    private static <T> T unsupported() {
        if (DEBUG) Log.w(TAG, "unsupported method called; returning null", new Exception());
        return null;