Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a3ff6961 authored by Prince's avatar Prince Committed by Lucas Silva
Browse files

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
parent 9b5907be
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