Merge "Remove OTP calls on wake-up from PhoneWindowManager" into sc-dev

This commit is contained in:
Nathalie Le Clair
2021-03-16 14:13:45 +00:00
committed by Android (Google) Code Review

View File

@@ -4251,12 +4251,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
mPowerManager.wakeUp(wakeTime, reason, details);
// Turn on the connected TV and switch HDMI input if we're a HDMI playback device.
final HdmiControl hdmiControl = getHdmiControl();
if (hdmiControl != null) {
hdmiControl.turnOnTv();
}
return true;
}