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
31 lines
985 B
Java
31 lines
985 B
Java
/*
|
|
* Copyright (C) 2017 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package com.android.settings.development;
|
|
|
|
/**
|
|
* Interface for storing Activity request codes in development options
|
|
*/
|
|
public interface DevelopmentOptionsActivityRequestCodes {
|
|
int REQUEST_CODE_ENABLE_OEM_UNLOCK = 0;
|
|
|
|
int REQUEST_CODE_DEBUG_APP = 1;
|
|
|
|
int REQUEST_MOCK_LOCATION_APP = 2;
|
|
|
|
int REQUEST_CODE_UPDATED_GFX_DRIVER_DEV_OPT_IN_APP = 4;
|
|
}
|