Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes. Bug: 258455654 Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7 Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
This commit is contained in:
parent
a976196f43
commit
0af89589cf
1 changed files with 4 additions and 0 deletions
|
@ -350,4 +350,8 @@
|
|||
<item>283</item>
|
||||
<item>283</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Whether we should persist the brightness value in nits for the default display even if
|
||||
the underlying display device changes. -->
|
||||
<bool name="config_persistBrightnessNitsForDefaultDisplay">true</bool>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue