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

Commit 7a96ec0e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added logs to investigate missing home button"

parents b16030f3 78ba6e23
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1938,6 +1938,12 @@ public class KeyguardViewMediator extends SystemUI {
            mStatusBarManager = (StatusBarManager)
                    mContext.getSystemService(Context.STATUS_BAR_SERVICE);
        }

        // TODO(b/113914868): investigation log for disappearing home button
        Log.d(TAG, "adjustStatusBarLocked (b/113914868): mShowing=" + mShowing
                + " mStatusBarManager=" + mStatusBarManager + " mOccluded="
                + mOccluded + " isSecure=" + isSecure() + " force=" + forceHideHomeRecentsButtons);

        if (mStatusBarManager == null) {
            Log.w(TAG, "Could not get status bar manager");
        } else {
+4 −0
Original line number Diff line number Diff line
@@ -595,6 +595,10 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav

        boolean disableHome = ((mDisabledFlags & View.STATUS_BAR_DISABLE_HOME) != 0);

        // TODO(b/113914868): investigation log for disappearing home button
        Log.i(TAG, "updateNavButtonIcons (b/113914868): home disabled=" + disableHome
                + " mDisabledFlags=" + mDisabledFlags);

        // Always disable recents when alternate car mode UI is active.
        boolean disableRecent = mUseCarModeUi || !isOverviewEnabled();