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

Skip to content
Commit ca4c1a34 authored by Matthew Ng's avatar Matthew Ng
Browse files

Get correct insets of the phone screen at boot

Before places such as
DockedStackDividerController.initSnapAlgorithmForRotations() tries to
run getStableInsetsLw() will get no insets on boot (via
onConfigurationChanged) because the navigationbar and statusbar have not
been added yet. This would leads to some miscalculations until
configuration changes such as rotating the screen.

Test: manual - logged the inset values on bootup with adb logcat
Change-Id: If07c8c007cb355dc418ff987fbb36ce104192379
parent 5686ade0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment