diff options
| author | 2024-02-28 14:43:26 +0000 | |
|---|---|---|
| committer | 2024-03-06 14:36:22 +0000 | |
| commit | a3ff6961d3384f96557db1fec4b113cf28b2b6b7 (patch) | |
| tree | 2cab53c154cadd747350da8fc28983e4d572d615 /libs/androidfw/StringPool.cpp | |
| parent | 9b5907be653a8552288545b9bd57d0dc1ca975ef (diff) | |
Increasing screen brightness on home panel dream
This change manually grabs a SCREEN_BRIGHT wakelock when the home
controls dream is attached to the window, and releases it when
detached. This is a workaround due to the fact that FLAG_KEEP_SCREEN_ON
set by the DreamActivity is not honored in this case, as the home
controls activity occludes the DreamActivity.
Test: HomeControlsDreamServiceTest
Flag: ACONFIG android.service.controls.flags.home_panel_dream STAGING
Fixes: 325453103
Change-Id: I11fe981cc0ada12797248ccb58c86ac99315b707
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions