Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e67257a7 authored by Tingting Wang's avatar Tingting Wang
Browse files

Add open source license html file to Setting->About.

Start a new activity to open html file when clicking on "Licenses"
from Setting->About.

BUG 25358009

Change-Id: I6a9d92bdcc2e3ac34e892de3c4ffb2ebb7a3deb3
parent 066f2f73
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 Google Inc. All Rights Reserved. -->

<WebView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/webview"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
</WebView>
 No newline at end of file
+3 −0
Original line number Original line Diff line number Diff line
@@ -816,4 +816,7 @@ a ren't members of any other group. [CHAR LIMIT=25] -->


    <!-- Terms of service title in about preference. [CHAR LIMIT=60]-->
    <!-- Terms of service title in about preference. [CHAR LIMIT=60]-->
    <string name="about_terms_of_service">Terms of service</string>
    <string name="about_terms_of_service">Terms of service</string>

    <!-- Title for the activity that displays licenses for open source libraries. [CHAR LIMIT=100]-->
    <string name="activity_title_licenses">Open source licenses</string>
</resources>
</resources>
+5 −5
Original line number Original line Diff line number Diff line
@@ -42,26 +42,26 @@
                android:key="@string/pref_build_version_key"
                android:key="@string/pref_build_version_key"
                android:title="@string/about_build_version"/>
                android:title="@string/about_build_version"/>


        <PreferenceScreen
        <Preference
                android:icon="@null"
                android:icon="@null"
                android:key="@string/pref_open_source_licenses_key"
                android:key="@string/pref_open_source_licenses_key"
                android:title="@string/about_open_source_licenses"
                android:title="@string/about_open_source_licenses"
                android:summary="@string/about_open_source_licenses_summary"/>
                android:summary="@string/about_open_source_licenses_summary"/>


        <PreferenceScreen
        <Preference
                android:icon="@null"
                android:icon="@null"
                android:key="@string/pref_privacy_policy_key"
                android:key="@string/pref_privacy_policy_key"
                android:title="@string/about_privacy_policy">
                android:title="@string/about_privacy_policy">
            <intent android:action="android.intent.action.VIEW"
            <intent android:action="android.intent.action.VIEW"
                    android:data="http://www.google.com/policies/privacy" />
                    android:data="http://www.google.com/policies/privacy" />
        </PreferenceScreen>
        </Preference>


        <PreferenceScreen
        <Preference
                android:icon="@null"
                android:icon="@null"
                android:key="@string/pref_terms_of_service_key"
                android:key="@string/pref_terms_of_service_key"
                android:title="@string/about_terms_of_service">
                android:title="@string/about_terms_of_service">
            <intent android:action="android.intent.action.VIEW"
            <intent android:action="android.intent.action.VIEW"
                    android:data="http://www.google.com/policies/terms" />
                    android:data="http://www.google.com/policies/terms" />
        </PreferenceScreen>
        </Preference>
    </PreferenceScreen>
    </PreferenceScreen>
</PreferenceScreen>
</PreferenceScreen>