diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-02-20 18:27:42 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-02-20 18:27:42 +0800 |
commit | 07b0733bdedbfcbe4523533b39cc053375d5ac8c (patch) | |
tree | da745fc0c54defbee9e94470f1f682e9c08fe05d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 895e1f288331dd73ab9507fb890e0500506d5010 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions