Allows selecting a single app to use ANGLE instead of native drivers via Developer Options. Only non-system apps will be listed via this interface. Bug: 80239516 Test: make ROBOTEST_FILTER=AngleEnabledAppPreferenceControllerTest RunSettingsRoboTests Change-Id: Iddf800cdc1a2607757ee165c456357e041c47ce5 (cherry picked from commit a3ed8214bf5903e4dea8df5f3516a95d81d8c485)
31 lines
969 B
Java
31 lines
969 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_ANGLE_ENABLED_APP = 3;
|
|
}
|