commit | b79685e9f32d9b7f67782f09e07e7c4eb0315ceb | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri May 15 16:53:09 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Fri May 15 16:59:56 2020 +0800 |
tree | a429b0ceb89bf877a300063b60c28000de3eb868 | |
parent | fc48f7e52a9e3f0ad0943db383f33d6f9bbb8899 [diff] |
Invoke the occluding callback only if the activity is occluded Originally the callback is always called for non-top activities. That may cause the starting window to be removed at unexpected timing when calling cancelInitializingActivities. Fixes: 156712576 Test: atest ActivityStackTests#testCheckBehindFullscreenActivity Change-Id: I7797c6a295260b52e75d8f47aa8ba26c598697bf