• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.tv.common.flags;
17 
18 /** Flags for Live TV UI */
19 public interface UiFlags {
20 
21     /**
22      * Whether or not this feature is compiled into this build.
23      *
24      * <p>This returns true by default, unless the is_compiled_selector parameter was set during
25      * code generation.
26      */
compiled()27     boolean compiled();
28 
29     /**
30      * Number of days to be shown by Recording History.
31      *
32      * <p>Set to 0 for all recordings.
33      */
maxHistoryDays()34     long maxHistoryDays();
35 
36     /** Unhide the launcher all the time */
uhideLauncher()37     boolean uhideLauncher();
38 
39     /** Use the Leanback Pin Picker */
useLeanbackPinPicker()40     boolean useLeanbackPinPicker();
41 }
42