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

Commit 1f012650 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Adding logging to track down alpha changes" into sc-qpr1-dev

parents d7997c24 dd4f5da7
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -101,10 +101,7 @@ import java.util.function.Consumer;
public class NavigationBarView extends FrameLayout implements
        NavigationModeController.ModeChangedListener {
    final static boolean DEBUG = false;
    final static String TAG = "StatusBar/NavBarView";

    // slippery nav bar when everything is disabled, e.g. during setup
    final static boolean SLIPPERY_WHEN_DISABLED = true;
    final static String TAG = "NavBarView";

    final static boolean ALTERNATE_CAR_MODE_UI = false;
    private final RegionSamplingHelper mRegionSamplingHelper;
@@ -373,6 +370,12 @@ public class NavigationBarView extends FrameLayout implements
        }
    }

    @Override
    protected boolean onSetAlpha(int alpha) {
        Log.e(TAG, "onSetAlpha", new Throwable());
        return super.onSetAlpha(alpha);
    }

    public void setAutoHideController(AutoHideController autoHideController) {
        mAutoHideController = autoHideController;
    }
@@ -1313,6 +1316,7 @@ public class NavigationBarView extends FrameLayout implements

        dumpButton(pw, "back", getBackButton());
        dumpButton(pw, "home", getHomeButton());
        dumpButton(pw, "handle", getHomeHandle());
        dumpButton(pw, "rcnt", getRecentsButton());
        dumpButton(pw, "rota", getRotateSuggestionButton());
        dumpButton(pw, "a11y", getAccessibilityButton());