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

Commit 61d2feb5 authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Merge branch '98-ecloud-settings' into 'master'

AccountManager: Add prefernce to show advanced account settings

See merge request !27
parents b239e640 41fbfc61
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -352,4 +352,6 @@
    <string name="google_alert_title">WARNING</string>
    <string name="google_alert_message">/e/ will report a fake device model to Google to protect your privacy.\nYou can check which one on Google\'s Device Activity after you log in.</string>

    <string name="advanced_account_title">My Profile</string>
    <string name="advanced_account_summary">Shows Data about account</string>
</resources>
+13 −1
Original line number Diff line number Diff line
@@ -11,11 +11,23 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res-auto">

    <PreferenceScreen
        android:iconSpaceReserved="true"
        android:summary="@string/advanced_account_summary"
        android:title="@string/advanced_account_title"
        android:order="300"
        settings:allowDividerAbove="false">
        <intent
            android:action="ACTION_VIEW"
            android:targetClass="foundation.e.drive.activity.AccountsActivity"
            android:targetPackage="foundation.e.drive" />
    </PreferenceScreen>

    <PreferenceScreen
        android:iconSpaceReserved="true"
        android:summary="@string/manage_account_description"
        android:title="@string/manage_accounts"
        android:order="300"
        android:order="400"
        settings:allowDividerAbove="false">
        <intent
            android:action="ACTION_VIEW"