Invoke OTP on almost every wake-up
Before: OTP is directly invoked on wake-up by PhoneWindowManager. A wake-up not passing through PhoneWindowManager doesn't automatically trigger OTP. After: HdmiControlService invokes OTP on every wake-up except if triggered by a CEC message. It does so by observing PowerManager broadcast ACTION_SCREEN_ON. Bug: 167961841 Test: atest HdmiCecLocalDevicePlaybackTest Change-Id: Iafed8ccd98ca52185b990b0e2c87becaa104520c
Loading
Please register or sign in to comment