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

Commit f0b7bf7c authored by Yiwei Zhang's avatar Yiwei Zhang Committed by android-build-merger
Browse files

GUP: Display a list of Apps and dialogs

am: dc62028e

Change-Id: I3d13512fda47d401444f665636d83dff2fb23882
parents 329a5e93 dc62028e
Loading
Loading
Loading
Loading
+14 −7
Original line number Diff line number Diff line
@@ -9982,17 +9982,24 @@
         show both names, with the directory name wrapped in parenthesis -->
    <string name="directory_on_volume"><xliff:g id="volume" example="SD Card">%1$s</xliff:g> (<xliff:g id="directory" example="Movies">%2$s</xliff:g>)</string>
    <!-- UI debug setting: select an app to use Game Update Package [CHAR LIMIT=100] -->
    <string name="gup_dev_opt_in_app">Use Game Update Package</string>
    <!-- UI debug setting: no app selected to use Game Update Package [CHAR LIMIT=100] -->
    <string name="gup_dev_opt_in_app_not_set">No selected app</string>
    <!-- UI debug setting: app selected to use Game Update Package [CHAR LIMIT=NONE] -->
    <string name="gup_dev_opt_in_app_set"><xliff:g id="app_name" example="com.company.app">%1$s</xliff:g></string>
    <!-- Title for Game Update Packages dashboard where developers can configure apps to use GUP or not [CHAR LIMIT=50] -->
    <string name="gup_dashboard_title">Game Update Packages Preferences</string>
    <!-- Summary for Game Update Packages dashboard [CHAR LIMIT=50] -->
    <string name="gup_dashboard_summary">Modify Game Update Packages settings</string>
    <!-- Title for Game Update Packages preference [CHAR LIMIT=50] -->
    <string name="gup_app_preference_title">Select Graphics Driver</string>
    <!-- The default value for Game Update Packages preference [CHAR LIMIT=50] -->
    <string name="gup_app_preference_default">Default</string>
    <!-- The gup value for Game Update Packages preference [CHAR LIMIT=50] -->
    <string name="gup_app_preference_gup">Game Update Packages</string>
    <!-- The native value for Game Update Packages preference [CHAR LIMIT=50] -->
    <string name="gup_app_preference_native">Native Graphics Driver</string>
    <!-- All the values for Game Update Packages preference [CHAR LIMIT=50] -->
    <string-array name="gup_app_preference_values">
        <item>@string/gup_app_preference_default</item>
        <item>@string/gup_app_preference_gup</item>
        <item>@string/gup_app_preference_native</item>
    </string-array>
    <!-- Slices Strings -->
+0 −5
Original line number Diff line number Diff line
@@ -431,11 +431,6 @@
            android:summary="%s"
            android:title="@string/simulate_color_space" />

        <Preference
            android:title="@string/gup_dev_opt_in_app"
            android:key="gup_dev_opt_in_app"
            android:summary="@string/gup_dev_opt_in_app_summary" />

    </PreferenceCategory>

    <PreferenceCategory
+11 −1
Original line number Diff line number Diff line
@@ -17,4 +17,14 @@

<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:title="@string/gup_dashboard_title" />
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:key="gup_settings"
    android:title="@string/gup_dashboard_title">

    <PreferenceCategory
        android:key="gup_category"
        android:title="@string/gup_app_preference_title"
        settings:controller="com.android.settings.development.gup.GupPreferenceController">
    </PreferenceCategory>

</PreferenceScreen>
+0 −2
Original line number Diff line number Diff line
@@ -25,6 +25,4 @@ public interface DevelopmentOptionsActivityRequestCodes {
    int REQUEST_CODE_DEBUG_APP = 1;

    int REQUEST_MOCK_LOCATION_APP = 2;

    int REQUEST_CODE_GUP_DEV_OPT_IN_APPS = 6;
}
+0 −1
Original line number Diff line number Diff line
@@ -400,7 +400,6 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
        controllers.add(new SelectDebugAppPreferenceController(context, fragment));
        controllers.add(new WaitForDebuggerPreferenceController(context));
        controllers.add(new EnableGpuDebugLayersPreferenceController(context));
        controllers.add(new GameUpdatePackageDevOptInPreferenceController(context, fragment));
        controllers.add(new VerifyAppsOverUsbPreferenceController(context));
        controllers.add(new LogdSizePreferenceController(context));
        controllers.add(new LogPersistPreferenceController(context, fragment, lifecycle));
Loading