diff options
| author | 2024-02-26 16:26:32 +0000 | |
|---|---|---|
| committer | 2024-02-27 21:11:52 +0000 | |
| commit | 83b1f585400283fd2e4157d5b91273a0782a55da (patch) | |
| tree | 7218c7892e071cf85924014cfc9d6e028e31f09a /libs/androidfw/ResourceTimer.cpp | |
| parent | 198545c46058f2f4c244e264252f438da88e34ab (diff) | |
Stage any flag on DeviceConfig writes.
Currently, flags are staged to be on reboot by being written to the
staging namespace. The server-side explicitly writes to the staging
namespace. That means flags can still be toggled immediately locally,
and when the server-side doesn't have staging enabled. A race condition
on the first wifi connection means that sometimes flags can get
immediately toggled. This CL makes all writes stage, even local ones.
Bug: 326598713
Test: atest SettingsStateTest
Change-Id: I9a551843ef710bf074b40cbe581caf075cfafc07
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions