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

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

Merge "Add quickstep and dispaly rotation to NavBarFragment dump." into...

Merge "Add quickstep and dispaly rotation to NavBarFragment dump." into rvc-dev am: a5b24a9a am: f6f4e3da

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

Change-Id: I224add621c3f111843fc7f7c6d365579e0e35f9a
parents ac955f1b f6f4e3da
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -628,6 +628,12 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
            resetSecondaryHandle();
        } else {
            int deltaRotation = deltaRotation(mCurrentRotation, mStartingQuickSwitchRotation);
            if (mStartingQuickSwitchRotation == -1 || deltaRotation == -1) {
                // Curious if starting quickswitch can change between the if check and our delta
                Log.d(TAG, "secondary nav delta rotation: " + deltaRotation
                        + " current: " + mCurrentRotation
                        + " starting: " + mStartingQuickSwitchRotation);
            }
            int height = 0;
            int width = 0;
            Rect dispSize = mWindowManager.getCurrentWindowMetrics().getBounds();
@@ -691,6 +697,8 @@ public class NavigationBarFragment extends LifecycleFragment implements Callback
            dumpBarTransitions(pw, "mNavigationBarView", mNavigationBarView.getBarTransitions());
        }

        pw.print("  mStartingQuickSwitchRotation=" + mStartingQuickSwitchRotation);
        pw.print("  mCurrentRotation=" + mCurrentRotation);
        pw.print("  mNavigationBarView=");
        if (mNavigationBarView == null) {
            pw.println("null");