stack trace below, seems to be something related to the target apps in the accessibility service
09-01 00:55:51.703 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.704 6278 6278 W ResourceType: No package identifier when getting name for resource number 0x00000000
09-01 00:55:51.705 6278 6278 W ResourceType: No package identifier when getting name for resource number 0x00000000
09-01 00:55:51.755 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.755 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.755 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.764 1629 1670 I WindowManager: setAppVisibility(Token{6a67672 ActivityRecord{f41077d u0 com.stanfordhci.habitlab/com.tns.NativeScriptActivity, isShadow:false t4}}, visible=false): mNextAppTransition=TRANSIT_UNSET hidden=true hiddenRequested=true
09-01 00:55:51.764 3198 3238 I ActivityThreadEui: scheduleStopActivity com.tns.NativeScriptActivity show=false configChanges=0
09-01 00:55:51.779 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.779 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.779 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.788 3198 3198 I ActivityThread: Finishing stop of ActivityRecord{de9b893 token=android.os.BinderProxy@77290d0 {com.stanfordhci.habitlab/com.tns.NativeScriptActivity}}: show=false win=com.android.internal.policy.PhoneWindow@3ce6729
09-01 00:55:51.791 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.791 6278 6278 I Gallery2/BitmapUtils: <isSupportedByRegionDecoder> mimeType image/jpeg
09-01 00:55:51.825 3198 3198 W System.err: com.tns.NativeScriptException:
09-01 00:55:51.825 3198 3198 W System.err: Calling js method onAccessibilityEvent failed
09-01 00:55:51.825 3198 3198 W System.err: TypeError: Cannot read property 'target' of undefined
09-01 00:55:51.825 3198 3198 W System.err: File: "file:///data/data/com.stanfordhci.habitlab/files/app/util/StorageUtil.js, line: 1036, column: 32
09-01 00:55:51.825 3198 3198 W System.err: StackTrace:
09-01 00:55:51.826 3198 3198 W System.err: Frame: function:'exports.canIntervene', file:'file:///data/data/com.stanfordhci.habitlab/files/app/util/StorageUtil.js', line: 1036, column: 33
09-01 00:55:51.826 3198 3198 W System.err: Frame: function:'nextOnLaunchIntervention', file:'file:///data/data/com.stanfordhci.habitlab/files/app/interventions/InterventionManager.js', line: 1005, column: 21
09-01 00:55:51.826 3198 3198 W System.err: Frame: function:'onAccessibilityEvent', file:'file:///data/data/com.stanfordhci.habitlab/files/app/services/AccessibilityService.js', line: 158, column: 37
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1043)
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:925)
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:912)
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:896)
09-01 00:55:51.826 3198 3198 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:888)
09-01 00:55:51.826 3198 3198 W System.err: at com.habitlab.AccessibilityService.onAccessibilityEvent(AccessibilityService.java:13)
09-01 00:55:51.826 3198 3198 W System.err: at android.accessibilityservice.AccessibilityService$1.onAccessibilityEvent(AccessibilityService.java:658)
09-01 00:55:51.826 3198 3198 W System.err: at android.accessibilityservice.AccessibilityService$IAccessibilityServiceClientWrapper.executeMessage(AccessibilityService.java:751)
09-01 00:55:51.826 3198 3198 W System.err: at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37)
09-01 00:55:51.826 3198 3198 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
09-01 00:55:51.826 3198 3198 W System.err: at android.os.Looper.loop(Looper.java:148)
09-01 00:55:51.826 3198 3198 W System.err: at android.app.ActivityThread.main(ActivityThread.java:5669)
09-01 00:55:51.826 3198 3198 W System.err: at java.lang.reflect.Method.invoke(Native Method)
09-01 00:55:51.826 3198 3198 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
09-01 00:55:51.826 3198 3198 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-01 00:55:51.848 545 591 I BufferQueueProducer: [Starting com.android.gallery3d] disconnect(P): api 2
09-01 00:55:51.855 1629 2866 I ActivityManager: startActivity have callingUid=Intent { flg=0x14008000 FromType=0x1 mCallingUid=10301 cmp=com.stanfordhci.habitlab/com.tns.ErrorReportActivity (has extras) }
09-01 00:55:51.855 1629 2866 I ActivityManager: START u0 {flg=0x14008000 FromType=0x1 mCallingUid=10301 cmp=com.stanfordhci.habitlab/com.tns.ErrorReportActivity (has extras)} from uid 10301 on display 0
09-01 00:55:51.857 1629 2866 I WindowManager: Set focused app to: AppWindowToken{b235ac3 token=Token{6a67672 ActivityRecord{f41077d u0 com.stanfordhci.habitlab/com.tns.NativeScriptActivity, isShadow:false t4}}} old focus=AppWindowToken{aaaf482 token=Token{e4f73cd ActivityRecord{6428564 u0 com.android.gallery3d/.app.PhotoActivity, isShadow:false t6}}} moveFocusNow=true
09-01 00:55:51.858 1629 2866 I WindowManager: Changing focus from Window{cb3418c u0 com.android.gallery3d/com.android.gallery3d.app.PhotoActivity} to null mode=0 updateInputWindows=true
09-01 00:55:51.858 1629 2866 I WindowManager: Input focus has changed to null oldFocusWindow=Window{cb3418c u0 com.android.gallery3d/com.android.gallery3d.app.PhotoActivity} updateInputWindow=true
09-01 00:55:51.858 1629 1712 I WindowManager: Focus moving from Window{cb3418c u0 com.android.gallery3d/com.android.gallery3d.app.PhotoActivity} to null
09-01 00:55:51.859 1629 2866 I ActivityManager: screenshotActivity async who=ActivityRecord{6428564 u0 com.android.gallery3d/.app.PhotoActivity, isShadow:false t6}
09-01 00:55:51.859 6278 6289 I ActivityThreadEui: schedulePauseActivity com.android.gallery3d.app.PhotoActivity finished=false userLeaving=true configChanges=0 dontReport=false
09-01 00:55:51.859 1629 1689 I BufferQueue: [unnamed-1629-8](this:0x7fa302dc00,id:8,api:0,p:-1,c:-1) BufferQueue core=(1629:system_server)
09-01 00:55:51.859 1629 1689 I BufferQueueConsumer: [unnamed-1629-8](this:0x7fa302dc00,id:8,api:0,p:-1,c:1629) connect(C): consumer=(1629:system_server) controlledByApp=false
09-01 00:55:51.859 1629 1689 I BufferQueueConsumer: [unnamed-1629-8](this:0x7fa302dc00,id:8,api:0,p:-1,c:1629) setConsumerName: unnamed-1629-8
09-01 00:55:51.859 1629 1689 I BufferQueueConsumer: [ScreenshotClient](this:0x7fa302dc00,id:8,api:0,p:-1,c:1629) setConsumerName: ScreenshotClient
09-01 00:55:51.859 1629 2807 E qti_sensors_hal: batch: handle 0 period_ns = 66667000, timeout = 0
09-01 00:55:51.860 545 545 I BufferQueueConsumer: [Starting com.android.gallery3d] disconnect(C)
09-01 00:55:51.860 545 545 I BufferQueue: [Starting com.android.gallery3d](this:0x7f8ce29800,id:47,api:2,p:-1,c:-1) ~BufferQueueCore
09-01 00:55:51.861 1629 1689 I BufferQueueProducer: [ScreenshotClient](this:0x7fa302dc00,id:8,api:1,p:545,c:1629) connect(P): api=1 producer=(545:/system/bin/surfaceflinger) producerControlledByApp=false