Add android.software.live_tv feature
This feature will be listed by Android TV devices that allow displaying contents from TV inputs implemented with the android.media.tv.TvInputService API. (Note that not all leanback devices support this feature.) Bug: 17284986 Change-Id: Ic1f23f6f5955866e9f1db9229693d370576066a3
This commit is contained in:
@@ -8892,6 +8892,7 @@ package android.content.pm {
|
||||
field public static final java.lang.String FEATURE_HOME_SCREEN = "android.software.home_screen";
|
||||
field public static final java.lang.String FEATURE_INPUT_METHODS = "android.software.input_methods";
|
||||
field public static final java.lang.String FEATURE_LEANBACK = "android.software.leanback";
|
||||
field public static final java.lang.String FEATURE_LIVE_TV = "android.software.live_tv";
|
||||
field public static final java.lang.String FEATURE_LIVE_WALLPAPER = "android.software.live_wallpaper";
|
||||
field public static final java.lang.String FEATURE_LOCATION = "android.hardware.location";
|
||||
field public static final java.lang.String FEATURE_LOCATION_GPS = "android.hardware.location.gps";
|
||||
|
||||
@@ -1454,6 +1454,15 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_LEANBACK_ONLY = "android.software.leanback_only";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device supports live TV and can display
|
||||
* contents from TV inputs implemented with the
|
||||
* {@link android.media.tv.TvInputService} API.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_LIVE_TV = "android.software.live_tv";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and
|
||||
* {@link #hasSystemFeature}: The device supports WiFi (802.11) networking.
|
||||
|
||||
Reference in New Issue
Block a user