Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29722231 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am e511ddce: Merge "AudioService: use FEATURE_LEANBACK instead of...

am e511ddce: Merge "AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION." into lmp-mr1-dev

* commit 'e511ddce':
  AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION.
parents 779c8ad6 e511ddce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.