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
This commit is contained in:
@@ -72,6 +72,13 @@
|
||||
<intent android:action="android.settings.TERMS" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<!-- System WebView License information -->
|
||||
<PreferenceScreen
|
||||
android:key="webview_license"
|
||||
android:title="@string/webview_license_title">
|
||||
<intent android:action="android.settings.WEBVIEW_LICENSE" />
|
||||
</PreferenceScreen>
|
||||
|
||||
<Preference
|
||||
android:key="wallpaper_attributions"
|
||||
android:title="@string/wallpaper_attributions"
|
||||
|
||||
Reference in New Issue
Block a user