OSDN Git Service

Add developer option to opt-in updatable graphics driver.
authorPeiyong Lin <lpy@google.com>
Thu, 8 Nov 2018 05:06:57 +0000 (21:06 -0800)
committerYiwei Zhang <zzyiwei@google.com>
Wed, 17 Apr 2019 01:49:19 +0000 (18:49 -0700)
commit5a92a74f232380eee78a8535a5522df597405d37
treec35ca1c8dca2e9a0cb71e5ba297dc49c007cad38
parentc99fddfe75fb680aa597cbf6cfd8e8041dba15b8
Add developer option to opt-in updatable graphics driver.

To facilitate developers to develop their applications against the updated
graphics driver, we provide a developer option to select one application to
opt-in. The selected application will always use updated graphics driver by
default.

BUG: 119221883
Test: Build, flash, boot, select a game and verify with prototype.
Change-Id: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
Merged-In: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
res/values/strings.xml
res/xml/development_settings.xml
src/com/android/settings/development/DevelopmentOptionsActivityRequestCodes.java
src/com/android/settings/development/DevelopmentSettingsDashboardFragment.java
src/com/android/settings/development/UpdatedGfxDriverDevOptInPreferenceController.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/development/UpdatedGfxDriverDevOptInPreferenceControllerTest.java [new file with mode: 0644]