summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2022-11-08 22:25:18 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2022-11-09 17:17:03 +0000
commit203a6745aa044efd5952b2baaf63441badb98522 (patch)
tree40820e41c675993eb2ab5de70a2983d3c3f5768a /libs/androidfw/AssetsProvider.cpp
parentdcb12923fc4b73ea3fcb50d2dafdbd9f98ba79a2 (diff)
[Media TTT] Displayed View Keeps Screen On
This CL ensures that the screen is kept on when the chipbar is displayed. It acquires a wakelock with different levels and flags when the screen is already on. This doesn't affect the screensaver mode. Bug: 241929425. Test: Ran adb commands when the screen is already on, and made sure that the screen goes off after the view is removed. This was tested on a phone and tablet devices. Test: atest MediaTttChipControllerReceiver. Test: atest TemporaryViewDisplayControllerTest. Test: atest MediaTttSenderCoordinatorTest. Change-Id: I2c471c435d297c074ee792c06c80112de24ac5f2
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions