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

Commit 90dfb899 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Don't reset layout params when repositioning

Not needed and leads to important properties being lost.

Change-Id: If2cf63df1ef6fe1357c10eedc8acfcf951fc2fa9
Fixes: 30355267
parent 0df1d34e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1361,7 +1361,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,

        prepareNavigationBarView();

        mWindowManager.updateViewLayout(mNavigationBarView, getNavigationBarLayoutParams());
        mWindowManager.updateViewLayout(mNavigationBarView, mNavigationBarView.getLayoutParams());
    }

    private void notifyNavigationBarScreenOn(boolean screenOn) {