diff options
author | yuemingw <yuemingw@google.com> | 2018-03-12 17:04:04 +0000 |
---|---|---|
committer | Yueming Wang <yuemingw@google.com> | 2018-03-27 18:06:07 +0000 |
commit | 1177b369e5726056e52f8f914d4c63613b8ad19a (patch) | |
tree | 3a7fe954e4bc23c6bc4689c12b6567bb62a55d1d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 812e87ecba60a386f624b9dd68097d0ba9aac973 (diff) |
Show dynamic subtext for RestrictedSwitchPreference.
Show dynamic subtext for RestrictedSwitchPreference when corresponding
restriction is on according to the current settings status controlled
by this RestrictedSwitchPreference. I.e., show "enabled by admin"
when corresponding setting is currently turned on by admin, or
"disabled by admin". In the past, this string is hard coded in xml and
the subtext of RestrictedSwitchPreference always shows one of
"enabled by admin" and "disabled by admin" regardless of the current
status of the setting.
Bug: 73811933
Test: manually by TestDPC
Change-Id: I2bbeee14e650b288d71f6aa59fc63dd78e18d49e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions