diff options
author | yuemingw <yuemingw@google.com> | 2018-02-06 17:28:00 +0000 |
---|---|---|
committer | Yueming Wang <yuemingw@google.com> | 2018-02-23 11:43:14 +0000 |
commit | 172da621785d6a0f32f67683bf59743e8511a410 (patch) | |
tree | a67730b0fd282a369bc96d96b5841a640a8cad1f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6ccc053d8b3cfedc25f9c87c672e5af824085610 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions