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

Commit a922c902 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update settings for app hibernation" into sc-dev

parents 2d3fbae3 48bd52e0
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -9804,6 +9804,18 @@
    <!-- Runtime permissions preference summary, which describes what the permission manager does. [CHAR LIMIT=NONE] -->
    <string name="runtime_permissions_summary_control_app_access">Control app access to your data</string>
    <!-- Label for showing apps that have not been used for months. [CHAR LIMIT=40]-->
    <string name="unused_apps">Unused apps</string>
    <!-- Summary of number of apps that have not been used for months. [CHAR LIMIT=40]-->
    <plurals name="unused_apps_summary">
        <item quantity="one"><xliff:g id="count" example="1">%d</xliff:g> unused app</item>
        <item quantity="other"><xliff:g id="count" example="10">%d</xliff:g> unused apps</item>
    </plurals>
    <!-- Label of a switch preference that controls whether the system will remove the permissions and free up space when the app has not been used for months [CHAR LIMIT=40]-->
    <string name="unused_apps_switch">Remove permissions and free up space</string>
    <!-- Label for showing all apps in list [CHAR LIMIT=30] -->
    <string name="filter_all_apps">All apps</string>
    <!-- Label for showing enabled apps in list [CHAR LIMIT=30] -->
+10 −0
Original line number Diff line number Diff line
@@ -83,6 +83,16 @@
        <intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
    </Preference>

    <Preference
        android:key="hibernated_apps"
        android:title="@string/unused_apps"
        android:summary="@string/summary_placeholder"
        android:order="13"
        settings:keywords="app_hibernation_key"
        settings:controller="com.android.settings.applications.HibernatedAppsPreferenceController">
        <intent android:action="android.intent.action.MANAGE_UNUSED_APPS"/>
    </Preference>

    <com.android.settingslib.RestrictedPreference
        android:key="app_and_notif_cell_broadcast_settings"
        android:title="@string/cell_broadcast_settings"
+13 −0
Original line number Diff line number Diff line
@@ -120,6 +120,19 @@
        android:title="@string/sms_application_title"
        android:summary="@string/summary_placeholder" />

    <PreferenceCategory
        android:key="app_hibernation_info"
        android:title="@string/unused_apps"
        settings:controller=
            "com.android.settings.applications.appinfo.AppHibernationPreferenceCategoryController">

        <SwitchPreference
            android:key="hibernation_switch"
            android:title="@string/unused_apps_switch"
            settings:controller=
                "com.android.settings.applications.appinfo.HibernationSwitchPreferenceController" />
    </PreferenceCategory>

    <!-- Advanced apps settings -->
    <PreferenceCategory
        android:key="advanced_app_info"
+13 −0
Original line number Diff line number Diff line
@@ -134,6 +134,19 @@
        android:title="@string/sms_application_title"
        android:summary="@string/summary_placeholder" />

    <PreferenceCategory
        android:key="app_hibernation_info"
        android:title="@string/unused_apps"
        settings:controller=
            "com.android.settings.applications.appinfo.AppHibernationPreferenceCategoryController">

        <SwitchPreference
            android:key="hibernation_switch"
            android:title="@string/unused_apps_switch"
            settings:controller=
                "com.android.settings.applications.appinfo.HibernationSwitchPreferenceController" />
    </PreferenceCategory>

    <!-- Advanced apps settings -->
    <PreferenceCategory
        android:key="advanced_app_info"
+10 −0
Original line number Diff line number Diff line
@@ -66,6 +66,16 @@
        android:key="dashboard_tile_placeholder"
        android:order="10"/>

    <Preference
        android:key="hibernated_apps"
        android:title="@string/unused_apps"
        android:summary="@string/summary_placeholder"
        android:order="15"
        settings:keywords="app_hibernation_key"
        settings:controller="com.android.settings.applications.HibernatedAppsPreferenceController">
        <intent android:action="android.intent.action.MANAGE_UNUSED_APPS"/>
    </Preference>

    <Preference
        android:key="special_access_v2"
        android:fragment="com.android.settings.applications.specialaccess.SpecialAccessSettings"
Loading