am e511ddce
: Merge "AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION." into lmp-mr1-dev
* commit 'e511ddce43ce3586f9bced5f8505e540951ab524': AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION.
This commit is contained in:
@ -548,7 +548,7 @@ public class AudioService extends IAudioService.Stub {
|
||||
com.android.internal.R.bool.config_voice_capable)) {
|
||||
mPlatformType = PLATFORM_VOICE;
|
||||
} else if (context.getPackageManager().hasSystemFeature(
|
||||
PackageManager.FEATURE_TELEVISION)) {
|
||||
PackageManager.FEATURE_LEANBACK)) {
|
||||
mPlatformType = PLATFORM_TELEVISION;
|
||||
} else {
|
||||
mPlatformType = PLATFORM_DEFAULT;
|
||||
@ -5386,7 +5386,7 @@ public class AudioService extends IAudioService.Stub {
|
||||
private boolean mHdmiSystemAudioSupported = false;
|
||||
// Set only when device is tv.
|
||||
private HdmiTvClient mHdmiTvClient;
|
||||
// true if the device has system feature PackageManager.FEATURE_TELEVISION.
|
||||
// true if the device has system feature PackageManager.FEATURE_LEANBACK.
|
||||
// cached HdmiControlManager interface
|
||||
private HdmiControlManager mHdmiManager;
|
||||
// Set only when device is a set-top box.
|
||||
|
Reference in New Issue
Block a user