summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Christian Göllner <chrisgollner@google.com> 2022-02-21 11:42:45 +0100
committer Christian Göllner <chrisgollner@google.com> 2022-02-21 16:58:23 +0100
commit648d3c77410e4f488aa717052b3fa18bafce48cf (patch)
tree694a38168ad6488cc7c4f3b7d479969671f95c77 /libs/androidfw/AttributeResolution.cpp
parentddb497d64adab4c6b7039429ff483473a3879df9 (diff)
DeviceStateRotationLockSettingsManager: only persist setting when value changed
This is to prevent the following infinite loop: 1 - We register a content observer for changes in our setting 2 - We initialize by reading the setting -> setting is empty -> fallback on defaults -> default is empty -> persist empty setting 3 - We get notified about the setting change -> back to step 2. Loops forever Bug: 219652963 Test: Manually + atp unbundled/launcher/launcher3_test_platform Change-Id: I08788d5ef7739c2f840a4f74459c4462c9db9c10
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions