summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2021-04-25 23:34:57 +0800
committerMing-Shin Lu <lumark@google.com>2021-04-29 12:59:33 +0800
commitea95fa9df70fe4e26b9d9179a540300a83b9449d (patch)
treebf324ec35cc7e899f29b466bd6852ec9ec873df0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta9f72d30748054e90deb9b8531433c15729c5209 (diff)
Don't attach IME screenshot when performing non-task transition
As currently attaching IME screenshot is only valid during switching between app tasks with IME window for aligning with the IME window surface layer on the fullscreen activity. The issue happens when SettingsPanelActivity (non-fullscreen activity) launch another translucent activity and popup the wifi password dialog. When user dismiss the dialog, it makes WifiDialogActivity incidentally attachs the IME screenshot on SettingsPanelActivity while performing translucent activity closing transition. Since initially we only support IME screenshot when performing task level app transition or switching apps with recents animation, We won't support for the app activity with theming or popup the non-fullscreen dialog with editor in case wrong IME screenshot attaching as the above issue case during activity closing transition. Add more checks to consolidate the attaching rule that valid only when the task is IME layering target and performing task closing transition. Fix: 186080920 Test: atest DisplayContentTests#testAttachAndShowImeScreenshotOnTarget Test: atest DisplayContentTests#testShowImeScreenshot Test: manual as issue steps: 1) Open Internet connection from quick settings. 2) Choose a Wifi ssid which requires password. 3) Enter password and press Enter key. 4) Verify if the keyboard is still remain on the screen. Expected is not. Change-Id: I0a0a8322c5d1cd44e3a4520c7f5434b8bc5b8306
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions