Skip to content
Commit 47e7a256 authored by Michael Mikhail's avatar Michael Mikhail
Browse files

[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
parent 3ce0aab5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment