From 535d7bf7dbd1921229720834503f2ddf9c7882ac Mon Sep 17 00:00:00 2001 From: Jorge Ruesga Date: Sun, 9 Nov 2014 01:20:16 +0100 Subject: 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 --- src/org/cyanogenmod/wallpapers/photophase/PhotoPhaseRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3