Exception class java.util.concurrent.RejectedExecutionException only on galaxy s3
<p>I am having problems with my live wallpapers but only on galaxy s3. I get the following error</p>

<pre><code>java.util.concurrent.RejectedExecutionException: Task com.ls.fs.Wallpaper$MyEngine$1@418f2030 rejected from java.util.concurrent.ThreadPoolExecutor@418f1978[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 87]
    at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1967)
    at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:782)
    at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1303)
    at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:600)
    at com.ls.fs.Wallpaper$MyEngine$1.run(Wallpaper.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    at java.lang.Thread.run(Thread.java:856)
</code></pre>

<p>This is the code around line 266</p>

<pre><code>@Override
public void onCreate(final SurfaceHolder holder){

     super.onCreate(holder);
     Executor = Executors.newSingleThreadExecutor();
     drawCommand = new Runnable(){

     public void run(){

        glRenderer.onDrawFrame(gl);
        egl.eglSwapBuffers(glDisplay, glSurface);

        if(isVisible() &amp;&amp; egl.eglGetError() != EGL11.EGL_CONTEXT_LOST){
         executor.execute(drawCommand);

}
}
};
setTouchEventsEnabled(true);
}
</code></pre>
