1 /* 2 * Copyright (C) 2019 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.provider; 18 19 import android.annotation.TestApi; 20 21 /** 22 * Interface for accessing keys belonging to {@link DeviceConfig#NAMESPACE_ANDROID}. 23 * @hide 24 */ 25 @TestApi 26 public interface AndroidDeviceConfig { 27 28 /** 29 * Key for accessing the system gesture exclusion limit (an integer in dp). 30 * 31 * <p>Note: On Devices running Q, this key is in the "android:window_manager" namespace. 32 * 33 * @see android.provider.DeviceConfig#NAMESPACE_ANDROID 34 */ 35 String KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP = "system_gesture_exclusion_limit_dp"; 36 37 /** 38 * Key for controlling whether system gestures are implicitly excluded by windows requesting 39 * sticky immersive mode from apps that are targeting an SDK prior to Q. 40 * 41 * <p>Note: On Devices running Q, this key is in the "android:window_manager" namespace. 42 * 43 * @see android.provider.DeviceConfig#NAMESPACE_ANDROID 44 */ 45 String KEY_SYSTEM_GESTURES_EXCLUDED_BY_PRE_Q_STICKY_IMMERSIVE = 46 "system_gestures_excluded_by_pre_q_sticky_immersive"; 47 48 } 49