summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2015-04-11 02:09:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-11 02:09:34 +0000
commitde6fe895ab34ccef62bb7dcfb9479c72bdf2fb6f (patch)
treea7e1c23826d894e1c4db74b62c24bc7d15b47840 /res
parentb1c342929cbd1d528449defe9e12d64697a06314 (diff)
parent2eb901a4e8865f4c49de6b8013cecd606b6a79e6 (diff)
downloadpackages_apps_Settings-de6fe895ab34ccef62bb7dcfb9479c72bdf2fb6f.zip
packages_apps_Settings-de6fe895ab34ccef62bb7dcfb9479c72bdf2fb6f.tar.gz
packages_apps_Settings-de6fe895ab34ccef62bb7dcfb9479c72bdf2fb6f.tar.bz2
Merge "Add user selectable Default Browser feature"
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml10
-rw-r--r--res/xml/advanced_apps.xml6
-rw-r--r--res/xml/default_apps.xml28
3 files changed, 44 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f9a3ae3..50ba70c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5651,6 +5651,7 @@
<string name="keywords_emergency_app">emergency ice app default</string>
<string name="keywords_all_apps">apps download applications system</string>
<string name="keywords_app_permissions">apps permissions security</string>
+ <string name="keywords_default_apps">apps default</string>
<!-- Search keywords for different screen unlock modes : slide to unlock, password, pattern and PIN [CHAR LIMIT=none] -->
<string name="keywords_lockscreen">slide password pattern pin</string>
@@ -6186,4 +6187,13 @@
<item quantity="other"><xliff:g id="count" example="10">%d</xliff:g> apps can open their domain URLs</item>
</plurals>
+ <!-- Title for Default Apps settings [CHAR LIMIT=30] -->
+ <string name="default_apps_title">Default Apps</string>
+
+ <!-- Title for Default Browser settings [CHAR LIMIT=30] -->
+ <string name="default_browser_title">Default Browser</string>
+
+ <!-- Summary for No Default Browser settings [CHAR LIMIT=45] -->
+ <string name="default_browser_title_none">No default Browser</string>
+
</resources>
diff --git a/res/xml/advanced_apps.xml b/res/xml/advanced_apps.xml
index 682ab2d..0307a60 100644
--- a/res/xml/advanced_apps.xml
+++ b/res/xml/advanced_apps.xml
@@ -20,6 +20,12 @@
android:key="applications_settings">
<PreferenceScreen
+ android:key="default_apps"
+ android:fragment="com.android.settings.applications.ManageDefaultApps"
+ android:title="@string/default_apps_title"
+ settings:keywords="@string/keywords_default_apps" />
+
+ <PreferenceScreen
android:key="manage_perms"
android:fragment="com.android.settings.applications.ManagePermissions"
android:title="@string/app_permissions"
diff --git a/res/xml/default_apps.xml b/res/xml/default_apps.xml
new file mode 100644
index 0000000..00c2fc0
--- /dev/null
+++ b/res/xml/default_apps.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:key="default_apps">
+
+ <com.android.settings.applications.DefaultBrowserPreference
+ android:key="default_browser"
+ android:title="@string/default_browser_title"
+ android:summary="@string/default_browser_title_none"
+ />
+
+</PreferenceScreen>