From 71ef80eaf4f65e6d22bf807e1d029e177b57db11 Mon Sep 17 00:00:00 2001 From: Mikhail Naganov Date: Mon, 15 Dec 2014 17:09:50 +0000 Subject: [PATCH] Add an item to "Legal information" screen for WebView license Similar to how it is done for other legal information items -- if there is an activity that serves android.settings.WEBVIEW_LICENSE intent, the item is shown with the title set to the activity's title, otherwise the item is hidden. Bug: 18729447 Change-Id: Ic5bad40c91e35fa3c8235128628413929ef111d3 --- res/values/strings.xml | 3 +++ res/xml/device_info_settings.xml | 7 +++++++ src/com/android/settings/DeviceInfoSettings.java | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/res/values/strings.xml b/res/values/strings.xml index 74062aede13..e9080b9a0c7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -2687,6 +2687,9 @@ Terms and conditions + + + System WebView License Wallpapers diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml index 45eda60eb83..46992a45eab 100644 --- a/res/xml/device_info_settings.xml +++ b/res/xml/device_info_settings.xml @@ -72,6 +72,13 @@ + + + + +