From 83bdef78d226d4ff67b8fa183a8840e423dd0a85 Mon Sep 17 00:00:00 2001 From: Pawit Pornkitprasan Date: Tue, 3 Jan 2012 10:37:32 +0700 Subject: AriesParts: Don't disable TV Out service on sleep The underlying library will not disable and release the service properly causing TV Out to be broken until next reboot. Change-Id: Id9d9953001644394c88a0afe342c268780947304 --- AriesParts/src/com/cyanogenmod/AriesParts/TvOutService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AriesParts/src/com/cyanogenmod/AriesParts/TvOutService.java b/AriesParts/src/com/cyanogenmod/AriesParts/TvOutService.java index 5812ac6..3f6216f 100644 --- a/AriesParts/src/com/cyanogenmod/AriesParts/TvOutService.java +++ b/AriesParts/src/com/cyanogenmod/AriesParts/TvOutService.java @@ -46,14 +46,14 @@ public class TvOutService extends Service { } else if (Intent.ACTION_SCREEN_ON.equals(action)) { if (mWasOn) { - enable(); + SystemProperties.set("ctl.start", "tvouthack"); mWasOn = false; } } else if (Intent.ACTION_SCREEN_OFF.equals(action)) { if (mTvOut._isEnabled()) { mWasOn = true; - disable(); + SystemProperties.set("ctl.stop", "tvouthack"); } } } -- cgit v1.1