summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2016-02-29 12:13:56 +0100
committerMartijn Coenen <maco@google.com>2016-02-29 12:16:52 +0100
commit6f02f56f52248a3129da6072ed692591cc1074f6 (patch)
tree254cec235535fdd66d25122319daa3541342928f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent42d8b7d7abe4ecab049e020c3836dae97660dd4d (diff)
SettingsLib: Always update preference state.
In case a RestrictedPreference can also be disabled for other reasons than device admin, the state of RestrictedPreferenceHelper may not be up-to-date with the actual preference state. For example, the "Android Beam" checkbox can be disabled by device policy, but it can also be disabled by Settings itself because NFC was turned off by the user. To fix that, always update the Preference state. Bug: 26907006 Change-Id: I27cde70beb82721dd4d423943a9898e022df8862
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions