diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-01-03 10:32:44 +0700 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-01-03 10:32:44 +0700 |
commit | 3c95db1c6cceff1bad0954a0a60dde4639c0ef00 (patch) | |
tree | 66f86d8651e353317af87ec320ef226e7915a01f /AriesParts/src | |
parent | 8e400b59609659355895ec95bf9256f619991d18 (diff) | |
download | device_samsung_aries-common-3c95db1c6cceff1bad0954a0a60dde4639c0ef00.zip device_samsung_aries-common-3c95db1c6cceff1bad0954a0a60dde4639c0ef00.tar.gz device_samsung_aries-common-3c95db1c6cceff1bad0954a0a60dde4639c0ef00.tar.bz2 |
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.
Diffstat (limited to 'AriesParts/src')
-rw-r--r-- | AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java b/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java index 408587d..bb2797e 100644 --- a/AriesParts/src/com/cyanogenmod/settings/device/TvOutService.java +++ b/AriesParts/src/com/cyanogenmod/settings/device/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"); } } } |