diff options
author | Brian Muramatsu <btmura@google.com> | 2012-09-17 23:09:35 -0700 |
---|---|---|
committer | Brian Muramatsu <btmura@google.com> | 2012-09-18 11:46:35 -0700 |
commit | a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893 (patch) | |
tree | f592d5156743263014dad2eeec1850b005911693 /res/values | |
parent | 64c6ee20bae6cbf868ec4a0a3ffc7ce6fd10bdd6 (diff) | |
download | packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.zip packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.gz packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.bz2 |
Add optional regulatory info page
Bug 7081675
If R.bools.config_show_regulatory_info is true, then show a "Regulatory
information" item on the "About phone" page. Show a DialogFragment
displaying the regulatory_info drawable if the item is clicked. Add a
1x1 blank regulatory_info drawable for devices that won't show this.
Change-Id: I5823d8969de038becf4911dce893dab5dbb23537
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/bools.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/res/values/bools.xml b/res/values/bools.xml index 23bdf0d..ba402e5 100644 --- a/res/values/bools.xml +++ b/res/values/bools.xml @@ -32,4 +32,7 @@ <!-- Whether User management screen is available --> <bool name="enable_user_management">false</bool> + + <!-- Whether to show a preference item for regulatory information in About phone --> + <bool name="config_show_regulatory_info">false</bool> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 18e2f61..a1c9cf7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2237,6 +2237,8 @@ <string name="legal_information">Legal information</string> <!-- About phone settings screen, setting option name to see a list of contributors --> <string name="contributors_title">Contributors</string> + <!-- About phone settings screen, setting option name to show regulatory information [CHAR LIMIT=25] --> + <string name="regulatory_information">Regulatory information</string> <!-- Note: this may be replaced by a more-specific title of the activity that will get launched --> <skip /> <!-- About phone settings screen, setting option name to see copyright-related info --> <string name="copyright_title">Copyright</string> |