ARTICLE AD BOX
I'm currently trying to debug a strange intermittent problem with an Android video-device's "standby mode" & its interaction with a CEC "sleep" message.
The Android device's behavior exhibits two behaviors on a CEC-aware TV that's connected to it via HDMI:
Behavior 1 (desirable): TV shuts off, and shows no HDMI video signal when powering up the TV again (but not the device). When I wake up the device, it takes 1-2 seconds.
Behavior 2 (undesirable): TV shuts off, but when I turn it on, its HDMI viewport shows a black screen (so, an HDMI video signal). When I wake up the device, it happens almost immediately.
Best I can ascertain, is the Android device is entering "standby mode", and wants to display some sort of screen-saver image.
Here's a log snippet:
01-15 18:04:53.370 2639 3095 D vol.VolumeDialogControl: onReceive ACTION_SCREEN_OFF
01-15 18:04:53.370 2639 2639 D DozeScreenState: setDozeScreenState(1)
01-15 18:04:53.370 2639 2639 D KeyguardViewMediator: handleNotifyFinishedGoingToSleep
01-15 18:04:53.372 2639 2639 D CentralSurfaces: Received new disable state: enaihbcrso.qingr (unchanged)
01-15 18:04:53.372 2639 2639 E OverviewProxyService: Failed to get overview proxy for disable flags.
01-15 18:04:53.372 2639 2639 D CentralSurfaces: Received new disable state: enaihbcrso.qingr (unchanged)
--
01-15 18:04:53.382 3519 3519 D SYS_EVENT: send event 8 notification to client
01-15 18:04:53.382 2015 2968 D SystemServerTiming: getUserSwitchability-0
01-15 18:04:53.382 2015 2968 D SystemServerTiming: TM.isInCall
01-15 18:04:53.382 2015 2968 D Telecom : Logging: START_SESSION
01-15 18:04:53.382 2015 2968 D Telecom : Logging: END_SESSION (dur: 0 ms): TSI.iIC@ALI
01-15 18:04:53.382 3494 3494 D PASRDozeReceiver: Received Intent Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 }
01-15 18:04:53.382 2015 2968 D SystemServerTiming: hasUserRestriction-DISALLOW_USER_SWITCH
01-15 18:04:53.382 2015 2968 D SystemServerTiming: getInt-ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED
01-15 18:04:53.382 2015 2968 D SystemServerTiming: isUserUnlocked-USER_SYSTEM
01-15 18:04:53.383 2015 4003 D SystemServerTiming: getUserSwitchability-0
01-15 18:04:53.383 2015 4003 D SystemServerTiming: TM.isInCall
--
01-15 18:04:53.383 2015 4003 D SystemServerTiming: hasUserRestriction-DISALLOW_USER_SWITCH
01-15 18:04:53.383 2015 4003 D SystemServerTiming: getInt-ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED
01-15 18:04:53.383 2015 4003 D SystemServerTiming: isUserUnlocked-USER_SYSTEM
01-15 18:04:53.384 3494 3494 D PASRDozeReceiver: Sent intent Successfully
01-15 18:04:53.384 3494 3494 D PASRService: PASRService started
01-15 18:04:53.384 3494 3494 D PASRService: OnStartteett, Intent: android.intent.action.SCREEN_OFF
01-15 18:04:53.384 3494 3494 D PASRService: Screen Off timer prop: 0. val: 0
I guess my question would be: how do I prevent the Android device from trying to keep the HDMI interface alive to display a screen-saver image (which is a black signal in this case), but keep the rest of the "standby mode" functionality?
Thanks for your advice!
Cheers, Charles.
