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

Commit 78ba6e23 authored by Matthew Ng's avatar Matthew Ng
Browse files

Added logs to investigate missing home button

Bug: 113914868
Test: manual
Change-Id: I81124bd3bda2af0365c8736e7811c7049308d4f4
parent c95add6d
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1917,6 +1917,12 @@ public class KeyguardViewMediator extends SystemUI {
            mStatusBarManager = (StatusBarManager)
            mStatusBarManager = (StatusBarManager)
                    mContext.getSystemService(Context.STATUS_BAR_SERVICE);
                    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) {
        if (mStatusBarManager == null) {
            Log.w(TAG, "Could not get status bar manager");
            Log.w(TAG, "Could not get status bar manager");
        } else {
        } else {
+4 −0
Original line number Original line Diff line number Diff line
@@ -632,6 +632,10 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav


        boolean disableHome = ((mDisabledFlags & View.STATUS_BAR_DISABLE_HOME) != 0);
        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.
        // Always disable recents when alternate car mode UI is active.
        boolean disableRecent = mUseCarModeUi || !isOverviewEnabled();
        boolean disableRecent = mUseCarModeUi || !isOverviewEnabled();