aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2014-11-09 00:20:16 (GMT)
committerJorge Ruesga <jorge@ruesga.com>2014-11-09 00:20:16 (GMT)
commit535d7bf7dbd1921229720834503f2ddf9c7882ac (patch)
treebfb16180fa314bee49a7e549a2e25a97dc575c34
parentfe7d751cbf9c6167b81b09f885726c72aaf783d6 (diff)
downloadandroid_packages_wallpapers_PhotoPhase-535d7bf7dbd1921229720834503f2ddf9c7882ac.zip
android_packages_wallpapers_PhotoPhase-535d7bf7dbd1921229720834503f2ddf9c7882ac.tar.gz
android_packages_wallpapers_PhotoPhase-535d7bf7dbd1921229720834503f2ddf9c7882ac.tar.bz2
photophase: make lwp to survive a reboot
The latest egl watchdog kill the app before they started. Increase the timeout to make the wallpaper to survive a device reboot Change-Id: I59a746fb9d599e0d016e4fc87c79d2a7d03a53d8 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
-rw-r--r--src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java b/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java
index 9358877..e189e87 100644
--- a/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java
+++ b/src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java
@@ -325,7 +325,7 @@ public class PhotoPhaseRenderer implements GLSurfaceView.Renderer {
// Set a watchdog to detect EGL bad context and restart the wallpaper
if (!mIsPreview) {
- mHandler.postDelayed(mEGLContextWatchDog, 1000L);
+ mHandler.postDelayed(mEGLContextWatchDog, 15000L);
}
}