Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Do not dim environment when while selecting one. (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored and bluemarvin committed Aug 30, 2019
1 parent ca2c30b commit 376611a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ private void initialize(Context aContext) {
});
}

@Override
public void onShown() {
super.onShown();

mWidgetManager.pushWorldBrightness(this, WidgetManagerDelegate.DEFAULT_NO_DIM_BRIGHTNESS);
}


@Override
public void onHidden() {
mWidgetManager.popWorldBrightness(this);
Expand Down

0 comments on commit 376611a

Please sign in to comment.