Skip to content

Commit

Permalink
Adder more boolean resources
Browse files Browse the repository at this point in the history
Added burn-in protection, AOD Wallpaper and Doze fix.
  • Loading branch information
blckbearx committed Mar 16, 2020
1 parent 5416b9a commit 9a4718e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ android {
// to the substratum repo rather than anything lower. Keep targetSdkVersion the same.
minSdkVersion 24
// Both versions must be changed to increment on Play Store/user's devices
versionCode 1
versionName '1.0'
versionCode 3
versionName '1.2'

// Themers: DO NOT MODIFY
buildConfigField "boolean", "SUPPORTS_THIRD_PARTY_SYSTEMS", "" + SUPPORTS_THIRD_PARTY_SYSTEMS
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/assets/overlays/android/res/values/bools.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
<bool name="config_displayBlanksAfterDoze">false</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">false</bool>
<bool name="config_dozeSupportsAodWallpaper">true</bool>
</resources>
3 changes: 3 additions & 0 deletions app/src/main/assets/overlays/android/res/values/public.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
<public type="bool" name="config_displayBlanksAfterDoze" id="0x7f020001" />
<public type="bool" name="config_powerDecoupleAutoSuspendModeFromDisplay" id="0x7f020002" />
<public type="bool" name="config_powerDecoupleInteractiveModeFromDisplay" id="0x7f020003" />
<public type="bool" name="config_enableBurnInProtection" id="0x7f020004" />
<public type="bool" name="config_dozeAfterScreenOffByDefault" id="0x7f020005" />
<public type="bool" name="config_dozeSupportsAodWallpaper" id="0x7f020006" />
</resources>

0 comments on commit 9a4718e

Please sign in to comment.