[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
Loading
Please register or sign in to comment