Adjust LayoutParams after handling soft input mode
For compatibility reasons, we would adjust layout params before it is sent to window manager. We need to adjust it after soft input mode is set. This CL also makes sure that only match-parent-non-attached-app window can use FLAG_FULL_SCREEN to hide status bar. This aligns the logic in the legacy insets mode which only allows mTopFullscreenOpaqueWindowState using FLAG_FULL_SCREEN to hide status bar. Fix: 149816539 Fix: 149822806 Test: Go to Developer options > Click on Smallets width, and see if the layout of the dialog is correct. Test: Long press power button and see if the dialog hides status bar. Change-Id: I46daa0906bac981ccadb5f98aeb8b0479d23820e
Loading
Please register or sign in to comment