summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2022-10-22 14:35:19 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2022-11-03 23:45:03 +0000
commit47e7a256ffda942f7cb2bce19277f8daf0b7bc20 (patch)
tree828c5becb608d6d65046b4b06abcf6ad77309acc /libs/androidfw/Util.cpp
parent3ce0aab5ba108c94b28b62c2c041e37faaa95788 (diff)
[MEDIA TTT] Apply wakelock for chipbar
Starts new wakelock on start, then acquire wakelock when view is displayed. And releases the wakelock if it is still held. Bug: 241929425. Test: ran adb command and checked the time while the screen is on. The screen is on when the chipbar is displayed and goes off when the chipbar is removed. Test: atest MediaTttChipControllerReceiverTest. Test: atest MediaTttSenderCoordinatorTest. Test: atest TemporaryViewDisplayControllerTest. Test: atest ChipbarCoordinatorTest. Test: atest WakeLockTest. Change-Id: I7a430df3689fe8d80bbcaf42ad165e789358ab8d
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions