summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2023-04-14 09:06:25 +0000
committer Roy Chou <juchengchou@google.com> 2023-04-18 05:03:39 +0000
commit3f09839e1dee4a3cabad3f300a2a78b897631d09 (patch)
tree7a58e716eaea54cbe02ff8896c71e9281aa24fcf /libs/androidfw/ApkParsing.cpp
parentc01c5f8875be42e7b397b0dd46b35bb15c34804d (diff)
chore(#Magnification): add MagnificationFeatureFlagBase
We'll add thumbnail feature flag in next cl and joystick feature flag in the future. These feature flag files are almost same as AlwaysOnMagnificationFeatureFlag, just in difference on namespace and feature name. Therefore, we add a feature flag base file to handle the logics, so that the extended feature flag files can share the base codes and customize namespace and feature name on its own. In MagnificationFeatureFlagBase, we would clear binder identity, then access the DEVICE_CONFIG with given namespace. It's to prevent permission denied exceptions. we would restore the identity after the access. Bug: 276979625 Test: manually atest MagnificationControllerTest Change-Id: I2857cd332bd98726718cf5b5913e6eccf741c3da
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions