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

Commit 4c386869 authored by Ebru Kurnaz's avatar Ebru Kurnaz
Browse files

Check whether navigation bar exists onDisplayAddSystemDecorations.

Bug: 421348366
Test: NA
Flag: com.android.window.flags.enable_sys_decors_callbacks_via_wm
Change-Id: Ia9da14e7cff2ee6f2352c9f7aec5e4ad2d0bccb7
parent 3525c956
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -348,7 +348,9 @@ public class NavigationBarControllerImpl implements
                    }
                    Display display = mDisplayManager.getDisplay(displayId);
                    mIsLargeScreen = isLargeScreen(mContext);
                    if (mNavigationBars.get(displayId) == null) {
                        createNavigationBar(display, null /* savedState */, null /* result */);
                    }
                }};

    /**