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

Commit 3013714b authored by Tarundeep Singh's avatar Tarundeep Singh Committed by Nick Chalko
Browse files

Remove ro.hdmi.wake_on_hotplug

wake_on_hotplug is not CEC specific

cherry picked from https://android-review.googlesource.com/c/platform/frameworks/base/+/1285956

Bug: 154122694
Test: m services.core
Change-Id: Ifd06566d958ef1b08aa84012366b4641ee5032f7
Merged-In: Ifd06566d958ef1b08aa84012366b4641ee5032f7
parent 77576fe9
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -44,9 +44,6 @@ import java.util.Locale;
public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
    private static final String TAG = "HdmiCecLocalDevicePlayback";

    private static final boolean WAKE_ON_HOTPLUG =
            SystemProperties.getBoolean(Constants.PROPERTY_WAKE_ON_HOTPLUG, false);

    private static final boolean SET_MENU_LANGUAGE =
            HdmiProperties.set_menu_language().orElse(false);

@@ -152,9 +149,6 @@ public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
        assertRunOnServiceThread();
        mCecMessageCache.flushAll();
        // We'll not clear mIsActiveSource on the hotplug event to pass CETC 11.2.2-2 ~ 3.
        if (WAKE_ON_HOTPLUG && connected && mService.isPowerStandbyOrTransient()) {
            mService.wakeUp();
        }
        if (!connected) {
            getWakeLock().release();
        }