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

Skip to content
Commit 940bf1fe authored by jinwoo805.lee's avatar jinwoo805.lee Committed by Xiang Wang
Browse files

BrightnessTracker: getRootTaskInfoOnDisplay

BrightnessTracker records the brightness change only on the default display. When it records its stat, it gets the top focused package and its user id.
In MUMD (Multiple Users on Multiple Displays) system, the top most focused package could be on the secondary display with a user signed on its display.
This patch fixes DisplayTracker gets the top most package and its user only on the default display when the default display brightness is changed.

Bug: 340310264
Flag: EXEMPT bugfix (localized component, does not affect phones)
Test: atest DisplayServiceTests
(cherry picked from https://partner-android-review.googlesource.com/q/commit:2e73e61b2a98742b901abe8115542dd94c79e057)
Merged-In: If5591271f0de907d665f768768959800a3caf9e3
Change-Id: If5591271f0de907d665f768768959800a3caf9e3
parent 4c895e0e
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