Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6a009c6c authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 4dc75678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment