diff options
| author | wilsonshih <wilsonshih@google.com> | 2021-11-10 18:08:42 +0800 |
|---|---|---|
| committer | Wei Sheng Shih <wilsonshih@google.com> | 2021-11-11 01:57:55 +0000 |
| commit | 7d970c6f3b4d9be2b7c5da2a0f882901037ae939 (patch) | |
| tree | 0630b1a65ae2984fde85a15076931f9a5f8a51c9 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 6773eb3208e3a87b2d56e4ba4736334ae3fce97e (diff) | |
Re-order preferred starting window type.
Prioritize the snapshot starting window than allDrawn condition, so
there should show snapshot on phone when unlock keyguard or do quick
switch.
There should not affect low-ram device such as wear since there may
not capture snapshot, so there should still show splash screen starting
window for haven't drawn condition.
Also correct one of the shouldUseEmptySplashScreen condition that
launchedFromSystemSurface should only allowed when starting activity.
Test: Start app, go to lockscreen and unlock, verify there should choose
snapshot starting window.
Test: atest ActivityRecordTests SplashscreenTests
Bug: 176837715
Change-Id: I9112f93da35526f578df805dd5f126236c520d6a
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
