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

Commit a7af7b50 authored by Kenneth Ford's avatar Kenneth Ford
Browse files

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
parent cd15fed5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment