summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2023-01-06 09:11:51 +0000
committer Rupesh Bansal <brup@google.com> 2023-01-06 17:50:37 +0000
commitc16b2af4a22656ff72ba9a6a31acc8e146feb5b4 (patch)
tree5f3a4bf44532e8fc2a4f0307c2b373ecc3776a00 /services/coverage/java
parent65e129f2ebe8e8dc858e6faed451e8f149846158 (diff)
Setting the display state to off when the default display is being changed
This fixes the issue of the display state change always being "in progress". PhotonicModulator thread fails to make any progress while waiting for a notify call to release the lock. This happensbecause the screenState is set to invalid when a device is being folded/unfolded, forcing it to wait until the screen state is recovered. Bug: 262294651 Test: adb shell dumpsys display | grep "Photonic Modulator" -A 10 -> Shows mStateChangeInProgress is false Test: Manually folding/unfolding the device wont cause the display stuck in the power off state Change-Id: I903f6392cbe42031aab8ffdbfbe541463d6b5e01
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions