1 /* 2 * Copyright 2015 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 com.android.tv.common; 18 19 /** Constants for common use in apps and tests. */ 20 public final class CommonConstants { 21 22 @Deprecated // TODO(b/121158110) refactor so this is not needed. 23 public static final String BASE_PACKAGE = 24 // AOSP_Comment_Out !BuildConfig.AOSP 25 // AOSP_Comment_Out ? "com.google.android.tv" 26 // AOSP_Comment_Out : 27 "com.android.tv"; 28 /** A constant for the key of the extra data for the app linking intent. */ 29 public static final String EXTRA_APP_LINK_CHANNEL_URI = "app_link_channel_uri"; 30 31 /** 32 * Video is unavailable because the source is not physically connected, for example the HDMI 33 * cable is not connected. 34 */ 35 public static final int VIDEO_UNAVAILABLE_REASON_NOT_CONNECTED = 5; 36 CommonConstants()37 private CommonConstants() {} 38 } 39