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

Skip to content
Commit a8ec0f5d authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Move the call to flush() to avoid a race condition

Bug: 221393932
Test: atest PersistentDataStoreTest
Test: Manually change brightness, run 'adb shell dumpsys display | grep -A30 PersistentDataStore' and check that the brightness value has updated. Also reboot the device and check that the brightness value stays the same.
Change-Id: I6f0b958a7db832a0ebe5e9f2ebc434ac92f47a8a
parent 31206eac
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