OSDN Git Service

Add an item to "Legal information" screen for WebView license
authorMikhail Naganov <mnaganov@google.com>
Mon, 15 Dec 2014 17:09:50 +0000 (17:09 +0000)
committerMikhail Naganov <mnaganov@google.com>
Tue, 6 Jan 2015 20:55:09 +0000 (20:55 +0000)
commit71ef80eaf4f65e6d22bf807e1d029e177b57db11
treea94958d9499891b2625ab03652fa7c56e6b8ebe8
parent5f17119f4683617ed5444c088b0439bb005a3514
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
res/xml/device_info_settings.xml
src/com/android/settings/DeviceInfoSettings.java