java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.spirosbond.callerflashlight.CameraSurface.surfaceCreated(CameraSurface.java:42)
at android.view.SurfaceView.updateWindow(SurfaceView.java:609)
at android.view.SurfaceView.access$000(SurfaceView.java:86)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:178)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:707)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1981)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1143)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4674)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4960)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.spirosbond.callerflashlight.CameraSurface.surfaceCreated(CameraSurface.java:42)
at android.view.SurfaceView.updateWindow(SurfaceView.java:609)
at android.view.SurfaceView.access$000(SurfaceView.java:86)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:178)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:707)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1981)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1143)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4674)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4960)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()at android.os.Handler.<init>(Handler.java:197)at android.os.Handler.<init>(Handler.java:111)at android.view.SurfaceView$1.<init>(SurfaceView.java:122)at android.view.SurfaceView.<init>(SurfaceView.java:122)at com.proapps.callflashlight.CameraSurface.<init>(CameraSurface.java:24)at com.proapps.callflashlight.Flash.loadParameters(Flash.java:115)at com.proapps.callflashlight.Flash.enableFlash(Flash.java:174)at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:1)at android.os.AsyncTask$2.call(AsyncTask.java:287)at java.util.concurrent.FutureTask.run(FutureTask.java:234)... 4 more
java.lang.SecurityException: Not allowed to bind to service Intent { cmp=drippler.samsung.galaxy.noteii/com.drippler.android.updates.utils.openudid.OpenUDIDService }
at android.app.ContextImpl.bindService(ContextImpl.java:1382)
at android.app.ContextImpl.bindService(ContextImpl.java:1356)
at android.content.ContextWrapper.bindService(ContextWrapper.java:401)
at org.OpenUDID.OpenUDID_manager.startService(OpenUDID_manager.java:107)
at org.OpenUDID.OpenUDID_manager.onServiceConnected(OpenUDID_manager.java:70)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1097)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1114)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1425)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:104)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1425)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:104)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1412)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:195)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1412)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:195)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1606)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:101)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1606)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:101)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1606)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:101)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1606)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:101)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()at android.os.Handler.<init>(Handler.java:121)at android.view.SurfaceView$1.<init>(SurfaceView.java:123)at android.view.SurfaceView.<init>(SurfaceView.java:123)at com.spirosbond.callerflashlight.CameraSurface.<init>(CameraSurface.java:24)at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:115)at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:174)at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:91)at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:70)at android.os.AsyncTask$2.call(AsyncTask.java:287)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)... 5 more
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:278)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()at android.os.Handler.<init>(Handler.java:121)at android.view.SurfaceView$1.<init>(SurfaceView.java:112)at android.view.SurfaceView.<init>(SurfaceView.java:112)at com.futerox.flashlight.CameraSurface.<init>(CameraSurface.java:49)at com.futerox.flashlight.Flash.loadParameters(Flash.java:140)at com.futerox.flashlight.Flash.enableFlash(Flash.java:199)at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:119)at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:98)at android.os.AsyncTask$2.call(AsyncTask.java:264)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)... 5 more
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1626)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.<init>(MainPanel.java:565)
at com.spirosbond.callerflashlight.MainPanel.onClick(MainPanel.java:290)
at android.view.View.performClick(View.java:4377)
at android.widget.CompoundButton.performClick(CompoundButton.java:104)
at android.view.View$PerformClick.run(View.java:18031)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1626)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.<init>(MainPanel.java:565)
at com.spirosbond.callerflashlight.MainPanel.onClick(MainPanel.java:290)
at android.view.View.performClick(View.java:4377)
at android.widget.CompoundButton.performClick(CompoundButton.java:104)
at android.view.View$PerformClick.run(View.java:18031)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1352)
at com.mom.flashalerts.Flash.enableFlash(Flash.java:178)
at com.mom.flashalerts.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:49)
at com.mom.flashalerts.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1352)
at com.mom.flashalerts.Flash.enableFlash(Flash.java:178)
at com.mom.flashalerts.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:49)
at com.mom.flashalerts.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1539)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.<init>(FirstTimeUtilisation.java:87)
at com.spirosbond.callerflashlight.FirstTimeUtilisation.onClick(FirstTimeUtilisation.java:55)
at android.view.View.performClick(View.java:4084)
at android.view.View$PerformClick.run(View.java:16966)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4931)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1539)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.<init>(FirstTimeUtilisation.java:87)
at com.spirosbond.callerflashlight.FirstTimeUtilisation.onClick(FirstTimeUtilisation.java:55)
at android.view.View.performClick(View.java:4084)
at android.view.View$PerformClick.run(View.java:16966)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4931)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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:864)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()at android.os.Handler.<init>(Handler.java:121)at android.view.SurfaceView$1.<init>(SurfaceView.java:112)at android.view.SurfaceView.<init>(SurfaceView.java:112)at com.futerox.flashlight.CameraSurface.<init>(CameraSurface.java:49)at com.futerox.flashlight.Flash.loadParameters(Flash.java:140)at com.futerox.flashlight.Flash.enableFlash(Flash.java:199)at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)at android.os.AsyncTask$2.call(AsyncTask.java:287)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)... 5 more
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:200)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()at android.os.Handler.<init>(Handler.java:121)at android.view.SurfaceView$1.<init>(SurfaceView.java:122)at android.view.SurfaceView.<init>(SurfaceView.java:122)at com.mom.flashalerts.CameraSurface.<init>(CameraSurface.java:24)at com.mom.flashalerts.Flash.loadParameters(Flash.java:115)at com.mom.flashalerts.Flash.enableFlash(Flash.java:174)at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)at android.os.AsyncTask$2.call(AsyncTask.java:185)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)... 4 more
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.doInBackground(FirstTimeUtilisation.java:96)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.doInBackground(FirstTimeUtilisation.java:79)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.doInBackground(FirstTimeUtilisation.java:96)
at com.spirosbond.callerflashlight.FirstTimeUtilisation$ManageFlash.doInBackground(FirstTimeUtilisation.java:79)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.NullPointerException
at com.jirbo.adcolony.ADCMediaManager.is_cached(ADCMediaManager.java:182)
at com.jirbo.adcolony.ADCManifest$StaticCompanionAdInfo.is_ready(ADCManifest.java:1267)
at com.jirbo.adcolony.ADCManifest$CompanionAd.is_ready(ADCManifest.java:1213)
at com.jirbo.adcolony.ADCManifest$Ad.is_ready(ADCManifest.java:628)
at com.jirbo.adcolony.ADCManifest$Zone.is_ad_available(ADCManifest.java:352)
at com.jirbo.adcolony.ADCAdManager.find_video_zone(ADCAdManager.java:71)
at com.jirbo.adcolony.ADCController.find_video_zone(ADCController.java:281)
at com.jirbo.adcolony.AdColonyVideoAd.isReady(AdColonyVideoAd.java:49)
at com.jirbo.adcolony.AdColonyVideoAd.show(AdColonyVideoAd.java:58)
at com.spirosbond.callerflashlight.Donate.onPreferenceClick(Donate.java:116)
at android.preference.Preference.performClick(Preference.java:941)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
at android.widget.AdapterView.performItemClick(AdapterView.java:292)
at android.widget.AbsListView.performItemClick(AbsListView.java:1427)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3057)
at android.widget.AbsListView$1.run(AbsListView.java:3970)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4517)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
at com.jirbo.adcolony.ADCMediaManager.is_cached(ADCMediaManager.java:182)
at com.jirbo.adcolony.ADCManifest$StaticCompanionAdInfo.is_ready(ADCManifest.java:1267)
at com.jirbo.adcolony.ADCManifest$CompanionAd.is_ready(ADCManifest.java:1213)
at com.jirbo.adcolony.ADCManifest$Ad.is_ready(ADCManifest.java:628)
at com.jirbo.adcolony.ADCManifest$Zone.is_ad_available(ADCManifest.java:352)
at com.jirbo.adcolony.ADCAdManager.find_video_zone(ADCAdManager.java:71)
at com.jirbo.adcolony.ADCController.find_video_zone(ADCController.java:281)
at com.jirbo.adcolony.AdColonyVideoAd.isReady(AdColonyVideoAd.java:49)
at com.jirbo.adcolony.AdColonyVideoAd.show(AdColonyVideoAd.java:58)
at com.spirosbond.callerflashlight.Donate.onPreferenceClick(Donate.java:116)
at android.preference.Preference.performClick(Preference.java:941)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
at android.widget.AdapterView.performItemClick(AdapterView.java:292)
at android.widget.AbsListView.performItemClick(AbsListView.java:1427)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3057)
at android.widget.AbsListView$1.run(AbsListView.java:3970)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4517)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.futerox.flashlight.CameraSurface.surfaceCreated(CameraSurface.java:68)
at android.view.SurfaceView.updateWindow(SurfaceView.java:647)
at android.view.SurfaceView.access$000(SurfaceView.java:89)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:201)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:671)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1846)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1010)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4255)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4849)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.futerox.flashlight.CameraSurface.surfaceCreated(CameraSurface.java:68)
at android.view.SurfaceView.updateWindow(SurfaceView.java:647)
at android.view.SurfaceView.access$000(SurfaceView.java:89)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:201)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:671)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1846)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1010)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4255)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4849)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:195)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:195)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1425)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:104)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1425)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:104)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:220)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:220)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1352)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:55)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1352)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:55)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.mom.flashalerts.CameraSurface.surfaceCreated(CameraSurface.java:43)
at android.view.SurfaceView.updateWindow(SurfaceView.java:644)
at android.view.SurfaceView.access$000(SurfaceView.java:94)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:206)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:671)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1839)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1009)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4248)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4940)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:798)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:565)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.mom.flashalerts.CameraSurface.surfaceCreated(CameraSurface.java:43)
at android.view.SurfaceView.updateWindow(SurfaceView.java:644)
at android.view.SurfaceView.access$000(SurfaceView.java:94)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:206)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:671)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1839)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1009)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4248)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4940)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:798)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:565)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1520)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.<init>(MainPanel.java:565)
at com.spirosbond.callerflashlight.MainPanel.onClick(MainPanel.java:278)
at android.view.View.performClick(View.java:4191)
at android.widget.CompoundButton.performClick(CompoundButton.java:105)
at android.view.View$PerformClick.run(View.java:17229)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4960)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1520)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.<init>(MainPanel.java:565)
at com.spirosbond.callerflashlight.MainPanel.onClick(MainPanel.java:278)
at android.view.View.performClick(View.java:4191)
at android.widget.CompoundButton.performClick(CompoundButton.java:105)
at android.view.View$PerformClick.run(View.java:17229)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4960)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1339)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:220)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:119)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:98)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1339)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:220)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:119)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:98)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1487)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.onPreExecute(SmsReceiver.java:38)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
at android.os.AsyncTask.execute(AsyncTask.java:534)
at com.spirosbond.callerflashlight.SmsReceiver.onReceive(SmsReceiver.java:21)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2280)
at android.app.ActivityThread.access$1600(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1313)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1487)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.onPreExecute(SmsReceiver.java:38)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
at android.os.AsyncTask.execute(AsyncTask.java:534)
at com.spirosbond.callerflashlight.SmsReceiver.onReceive(SmsReceiver.java:21)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2280)
at android.app.ActivityThread.access$1600(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1313)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:195)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:55)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:195)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:55)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1448)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:95)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1448)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:95)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:111)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.doInBackground(MainPanel.java:577)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.doInBackground(MainPanel.java:557)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.doInBackground(MainPanel.java:577)
at com.spirosbond.callerflashlight.MainPanel$ManageFlash.doInBackground(MainPanel.java:557)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:189)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:85)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:70)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:189)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:85)
at com.spirosbond.callerflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:70)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:393)
at com.proapps.callflashlight.CameraSurface.surfaceCreated(CameraSurface.java:41)
at android.view.SurfaceView.updateWindow(SurfaceView.java:552)
at android.view.SurfaceView.dispatchDraw(SurfaceView.java:350)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6883)
at android.view.ViewRoot.draw(ViewRoot.java:1528)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1264)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1866)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:393)
at com.proapps.callflashlight.CameraSurface.surfaceCreated(CameraSurface.java:41)
at android.view.SurfaceView.updateWindow(SurfaceView.java:552)
at android.view.SurfaceView.dispatchDraw(SurfaceView.java:350)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.ViewGroup.drawChild(ViewGroup.java:1644)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373)
at android.view.View.draw(View.java:6883)
at android.view.ViewRoot.draw(ViewRoot.java:1528)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1264)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1866)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:195)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:195)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.spirosbond.callerflashlight/com.spirosbond.callerflashlight.PrefsActivity}: java.lang.NumberFormatException: Invalid int: ""
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262)
at android.app.ActivityThread.access$600(ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1257)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5105)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:741)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NumberFormatException: Invalid int: ""
at java.lang.Integer.invalidInt(Integer.java:138)
at java.lang.Integer.parseInt(Integer.java:359)
at java.lang.Integer.parseInt(Integer.java:332)
at com.spirosbond.callerflashlight.TimePreference.getHour(TimePreference.java:42)
at com.spirosbond.callerflashlight.TimePreference.onSetInitialValue(TimePreference.java:128)
at android.preference.Preference.dispatchSetInitialValue(Preference.java:1323)
at android.preference.Preference.onAttachedToHierarchy(Preference.java:1135)
at android.preference.PreferenceGroup.addPreference(PreferenceGroup.java:163)
at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:104)
at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:45)
at android.preference.GenericInflater.rInflate(GenericInflater.java:488)
at android.preference.GenericInflater.rInflate(GenericInflater.java:493)
at android.preference.GenericInflater.inflate(GenericInflater.java:326)
at android.preference.GenericInflater.inflate(GenericInflater.java:263)
at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)
at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1433)
at com.spirosbond.callerflashlight.PrefsActivity.onCreate(PrefsActivity.java:29)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2176)
... 11 more
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1339)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:203)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:119)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:98)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1339)
at com.futerox.flashlight.Flash.enableFlash(Flash.java:203)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:119)
at com.futerox.flashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:98)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:471)
at com.spirosbond.callerflashlight.CameraSurface.surfaceCreated(CameraSurface.java:40)
at android.view.SurfaceView.updateWindow(SurfaceView.java:569)
at android.view.SurfaceView.access$000(SurfaceView.java:86)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:174)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:680)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2153)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1187)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4855)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:766)
at android.view.Choreographer.doCallbacks(Choreographer.java:575)
at android.view.Choreographer.doFrame(Choreographer.java:542)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:751)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:5777)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1083)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
at dalvik.system.NativeStart.main(Native Method)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:471)
at com.spirosbond.callerflashlight.CameraSurface.surfaceCreated(CameraSurface.java:40)
at android.view.SurfaceView.updateWindow(SurfaceView.java:569)
at android.view.SurfaceView.access$000(SurfaceView.java:86)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:174)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:680)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2153)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1187)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4855)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:766)
at android.view.Choreographer.doCallbacks(Choreographer.java:575)
at android.view.Choreographer.doFrame(Choreographer.java:542)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:751)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:5777)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1083)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:65)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)
java.lang.NullPointerException
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:65)
at com.proapps.callflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:94)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:178)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:94)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1412)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1412)
at com.proapps.callflashlight.Flash.enableFlash(Flash.java:178)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.proapps.callflashlight.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.NullPointerException
at com.mom.flashalerts.Flash.enableFlash(Flash.java:195)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.NullPointerException
at com.mom.flashalerts.Flash.enableFlash(Flash.java:195)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:173)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:105)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:173)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:105)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:173)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:95)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:173)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:95)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.NullPointerException
at com.futerox.flashlight.Flash.enableFlash(Flash.java:203)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
java.lang.NullPointerException
at com.futerox.flashlight.Flash.enableFlash(Flash.java:203)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)
at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
java.lang.NullPointerException
at com.mom.flashalerts.Flash.enableFlash(Flash.java:178)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.NullPointerException
at com.mom.flashalerts.Flash.enableFlash(Flash.java:178)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:94)
at com.mom.flashalerts.CallReceiver$MyPhoneStateListener$ManageFlash.doInBackground(CallReceiver.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:189)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:105)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:189)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:105)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:78)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:94)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1452)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:94)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.doInBackground(NotificationService.java:77)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1568)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.onPreExecute(NotificationService.java:90)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
at android.os.AsyncTask.execute(AsyncTask.java:534)
at com.spirosbond.callerflashlight.NotificationService.onAccessibilityEvent(NotificationService.java:35)
at android.accessibilityservice.AccessibilityService$1.onAccessibilityEvent(AccessibilityService.java:556)
at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:644)
at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5323)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:743)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:559)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1568)
at com.spirosbond.callerflashlight.Flash.loadParameters(Flash.java:128)
at com.spirosbond.callerflashlight.Flash.<init>(Flash.java:50)
at com.spirosbond.callerflashlight.NotificationService$ManageFlash.onPreExecute(NotificationService.java:90)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
at android.os.AsyncTask.execute(AsyncTask.java:534)
at com.spirosbond.callerflashlight.NotificationService.onAccessibilityEvent(NotificationService.java:35)
at android.accessibilityservice.AccessibilityService$1.onAccessibilityEvent(AccessibilityService.java:556)
at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:644)
at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:40)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5323)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:743)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:559)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
at dalvik.system.NativeStart.main(Native Method)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:183)
at com.futerox.flashlight.CameraSurface.surfaceCreated(CameraSurface.java:66)
at android.view.SurfaceView.updateWindow(SurfaceView.java:454)
at android.view.SurfaceView.dispatchDraw(SurfaceView.java:287)
at android.view.ViewGroup.drawChild(ViewGroup.java:1532)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1261)
at android.view.ViewGroup.drawChild(ViewGroup.java:1532)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1261)
at android.view.View.draw(View.java:6615)
at android.view.ViewRoot.draw(ViewRoot.java:1363)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1122)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1653)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:4425)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
at dalvik.system.NativeStart.main(Native Method)
java.io.IOException: setPreviewDisplay failed
at android.hardware.Camera.setPreviewDisplay(Native Method)
at android.hardware.Camera.setPreviewDisplay(Camera.java:183)
at com.futerox.flashlight.CameraSurface.surfaceCreated(CameraSurface.java:66)
at android.view.SurfaceView.updateWindow(SurfaceView.java:454)
at android.view.SurfaceView.dispatchDraw(SurfaceView.java:287)
at android.view.ViewGroup.drawChild(ViewGroup.java:1532)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1261)
at android.view.ViewGroup.drawChild(ViewGroup.java:1532)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1261)
at android.view.View.draw(View.java:6615)
at android.view.ViewRoot.draw(ViewRoot.java:1363)
at android.view.ViewRoot.performTraversals(ViewRoot.java:1122)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1653)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:4425)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1475)
at com.spirosbond.callerflashlight.Flash.enableFlash(Flash.java:194)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:59)
at com.spirosbond.callerflashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:26)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
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)