Skip to content

Commit

Permalink
disable 10m wake lock based on 2+ screen undims
Browse files Browse the repository at this point in the history
It's better for this to be done in an explicit way.
  • Loading branch information
thestinger committed Jan 21, 2025
1 parent db009aa commit 3d97c25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class ScreenUndimDetector {

/** DeviceConfig flag: is keep screen on feature enabled. */
static final String KEY_KEEP_SCREEN_ON_ENABLED = "keep_screen_on_enabled";
private static final boolean DEFAULT_KEEP_SCREEN_ON_ENABLED = true;
private static final boolean DEFAULT_KEEP_SCREEN_ON_ENABLED = false;
private static final int OUTCOME_POWER_BUTTON =
FrameworkStatsLog.TIMEOUT_AUTO_EXTENDED_REPORTED__OUTCOME__POWER_BUTTON;
private static final int OUTCOME_TIMEOUT =
Expand Down

0 comments on commit 3d97c25

Please sign in to comment.