diff options
| author | 2023-09-18 18:44:43 +0000 | |
|---|---|---|
| committer | 2023-09-19 18:44:49 +0000 | |
| commit | a7af7b502d48f9b7aa2909ebbd64e2cf3f0dc327 (patch) | |
| tree | 59b302700e8014e530005e2b122456f8a1c262de /libs/androidfw/ObbFile.cpp | |
| parent | cd15fed5854b5155d6892582f4521689270f3e95 (diff) | |
Cancels dual display state when all activities for process are invisible
Uses a ProcessObserver instead of a TaskStackListener to be notified
when a process has no foreground activities. This is a more stable
and correct signal than the onTaskMovedToFront notification.
cancel the dual display request. Fixes bugs previously seen with
tapping on navigation bars or multi-window scenarios.
Fixes: 295195310
Test: DeviceStateManagerServiceTest
Change-Id: I5aed2b204dcbdbf1e439811780a94b3f499b31a3
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions