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 package com.android.settings.panel; 17 18 /** 19 * Simple contract class to track keys in Panel logging. 20 * 21 * <p> 22 * Constants should only be removed if underlying panel, or use case is removed. 23 * </p> 24 * 25 * @deprecated this is no longer used after V and will be removed. 26 */ 27 @Deprecated(forRemoval = true) 28 public class PanelLoggingContract { 29 30 /** 31 * Keys tracking different ways users exit Panels. 32 */ 33 interface PanelClosedKeys { 34 /** 35 * The user clicked the See More button linking deeper into Settings. 36 */ 37 String KEY_SEE_MORE = "see_more"; 38 39 /** 40 * The user clicked the Done button, closing the Panel. 41 */ 42 String KEY_DONE = "done"; 43 44 /** 45 * The user closed the panel by other ways, for example: clicked outside of dialog, tapping 46 * on back button, etc. 47 */ 48 String KEY_OTHERS = "others"; 49 } 50 } 51