diff options
| author | 2022-09-21 23:01:09 +0800 | |
|---|---|---|
| committer | 2022-09-21 23:01:09 +0800 | |
| commit | 6a009c6c1bcd4820d7dda09d026bee77a333a37b (patch) | |
| tree | ad4d103d0cfa83639ccfb85133c00032d7d1438a /libs/androidfw/StringPool.cpp | |
| parent | 4dc756781afb8c298554e0c26a89cc66459d2881 (diff) | |
Allow to send user leave hint for task switch by touch
A corner case if the window on a launching activity is not shown
in-time, a touch event may send to the current top window which
belongs to previous app. That causes task reorder and pauses
the launching activity.
Just to fit the description in document "activity is about to
go into the background as the result of user choice".
Bug: 245423495
Test: Launch a dialog style activity from launcher with
sleeping(500) in onCreate. And keep clicking launcher
at the same time. The activity should receive onUserLeaveHint.
Change-Id: Ia7257fe2383bf2a1f55c26170ca047a4604ebd60
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions