Can't get appintentdemozxing1 working it crashes
adb logs from appintentdemozxing1 are below:
I/BufferQueue( 132): [Starting com.example.appintentdemozxing1](this:0x4189e730,api:2) disconnect: api=2
I/SurfaceTexture( 132): [Starting com.example.appintentdemozxing1] [virtual android::status_t android::SurfaceTexture::forceAuxConversionLocked()] mCurrentTexture:0, mCurrentBuf:0x41b6ef38
I/BufferQueue( 132): [Starting com.example.appintentdemozxing1](this:0x4189e730,api:0) getReleasedBuffers: returning mask 0xffffffff
I/SurfaceTexture( 132): [Starting com.example.appintentdemozxing1](this:0x419ac628,api:0) destroying EGLImage dpy=0x1 img=0x10000008
D/KeyguardViewMediator( 548): setHidden false
D/KeyguardUpdateMonitor( 548): sendKeyguardVisibilityChanged(true)
D/AudioFlinger( 137): stop(4097), calling pid 548
D/AudioFlinger( 137): not stopping/stopped => stopping/stopped (4097) on thread 0x41be5460
D/AudioMTKPolicyManager( 137): stopOutput() output 2, stream 1, session 466
D/AudioMTKPolicyManager( 137): getNewDevice() selected device 0 output= 2
D/AudioMTKPolicyManager( 137): setOutputDevice() output 2 device 0000 delayMs 184
D/AudioMTKPolicyManager( 137): checkDeviceMuteStrategies outputDesc = 0x419c69b0 prevDevice = 2 delayMs = 184
D/AudioMTKPolicyManager( 137): setOutputDevice() setting same device 0000 or null device for output 2
D/KeyguardUpdateMonitor( 548): handleKeyguardVisibilityChanged(1)
D/AudioTrack( 548): audiotrack 0x5694b6a0 stop done
D/KeyguardViewMediator( 548): handleMessage enter msg name=SET_HIDDEN
D/KeyguardViewMediator( 548): handleMessage exit msg name=SET_HIDDEN
I/BufferQueue( 132): [Starting com.example.appintentdemozxing1](this:0x4189e730,api:0) consumerDisconnect
I/BufferQueue( 132): [Starting com.example.appintentdemozxing1](this:0x4189e730,api:0) ~BufferQueue
D/AudioFlinger( 137): track 4097 u=00001000, s=00001000 [NOT READY] on thread 0x41be5460
D/AudioFlinger( 137): presentationComplete() reset: mPresentationCompleteFrames 9177 audioHalFrames 4057
D/AudioFlinger( 137): track 4097 u=00001000, s=00001000 [NOT READY] on thread 0x41be5460
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): track 4097 u=00001000, s=00001000 [NOT READY] on thread 0x41be5460
D/AudioFlinger( 137): track 4097 u=00001000, s=00001000 [NOT READY] on thread 0x41be5460
D/AudioFlinger( 137): presentationComplete() session 466 complete: framesWritten 9216
D/AudioFlinger( 137): TrackBase::reset
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/KeyguardViewMediator( 548): setHidden false
D/KeyguardUpdateMonitor( 548): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor( 548): handleKeyguardVisibilityChanged(1)
D/KeyguardViewMediator( 548): handleMessage enter msg name=SET_HIDDEN
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw
D/AudioMTKStreamOut( 137): write(), buffer = 0x41be5728 bytes = 4096 mLatency = 92
D/KeyguardViewMediator( 548): handleMessage exit msg name=SET_HIDDEN
I/BufferQueue( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b66d60,api:2) disconnect: api=2
I/SurfaceTexture( 132): [Application Error: com.example.appintentdemozxing1] [virtual android::status_t android::SurfaceTexture::forceAuxConversionLocked()] mCurrentTexture:2, mCurrentBuf:0x414a6f40
I/BufferQueue( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b66d60,api:0) getReleasedBuffers: returning mask 0xffffffff
I/SurfaceTexture( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b6e2f0,api:0) destroying EGLImage dpy=0x1 img=0x10000004
I/SurfaceTexture( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b6e2f0,api:0) destroying EGLImage dpy=0x1 img=0x1000000b
I/SurfaceTexture( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b6e2f0,api:0) destroying EGLImage dpy=0x1 img=0x1000000c
D/KeyguardViewMediator( 548): setHidden false
D/KeyguardUpdateMonitor( 548): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor( 548): handleKeyguardVisibilityChanged(1)
D/KeyguardViewMediator( 548): handleMessage enter msg name=SET_HIDDEN
D/KeyguardViewMediator( 548): handleMessage exit msg name=SET_HIDDEN
I/BufferQueue( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b66d60,api:0) consumerDisconnect
I/BufferQueue( 132): [Application Error: com.example.appintentdemozxing1](this:0x41b66d60,api:0) ~BufferQueue
D/AudioFlinger( 137): threadLoop_sleepTime write muted data to hw