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

Commit fe5608e5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Adding logging to track down alpha changes" into sc-v2-dev am: c3409c0d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15845118

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

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


    final static boolean ALTERNATE_CAR_MODE_UI = false;
    final static boolean ALTERNATE_CAR_MODE_UI = false;
    private final RegionSamplingHelper mRegionSamplingHelper;
    private final RegionSamplingHelper mRegionSamplingHelper;
@@ -385,6 +382,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) {
    public void setAutoHideController(AutoHideController autoHideController) {
        mAutoHideController = autoHideController;
        mAutoHideController = autoHideController;
    }
    }
@@ -1319,6 +1322,7 @@ public class NavigationBarView extends FrameLayout implements


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