summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authoryuemingw <yuemingw@google.com>2018-02-06 17:28:00 +0000
committerYueming Wang <yuemingw@google.com>2018-02-23 11:43:14 +0000
commit172da621785d6a0f32f67683bf59743e8511a410 (patch)
treea67730b0fd282a369bc96d96b5841a640a8cad1f /tools/aapt2/java/JavaClassGenerator.cpp
parent6ccc053d8b3cfedc25f9c87c672e5af824085610 (diff)
Add userRestriction attribute in Location settings injector.
We would like to disable location accuracy ui in Settings when DISALLOW_CONFIG_LOCATION is set. As disable location accuracy preference in Settings is injected from GmsCore, we would like a way to identify which injected settings is location accuracy. So we want to add an additional field here: https://cs.corp.google.com/piper///depot/google3/java/com/google/android/gmscore/integ/container/proxies/location/base/res/xml/location_accuracy_injected_settings.xml?q=SettingInjectorService+file:%5E//depot/google3/java/com/google/android/gmscore/integ/+package:%5Epiper$&dr=C Thus we need to update attributes in framework Bug: 72633181 Test: manually by replacing userRestriction in attrs.xml with an existing attribute "id", change location_accuracy_injected_settings.xml in gmscore to include user restriction value, and tested Settings UI via TestDPC Change-Id: Idd568dc549c68097f31368b1dd567f24922bdc4b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions