You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/29 14:00:44 UTC

[GitHub] mirko77 commented on issue #412: The application stopped when taking a photo with the camera on the Moto Z² / Z¹ Play devices.

mirko77 commented on issue #412: The application stopped when taking a photo with the camera on the Moto Z² / Z¹ Play devices.
URL: https://github.com/apache/cordova-plugin-camera/issues/412#issuecomment-458549934
 
 
   Same here on some devices running Android 8.0/8.1, targeting API 26
   
   This is the log:
   
   ```
   
   java.lang.RuntimeException: 
     at android.app.ActivityThread.deliverResults (ActivityThread.java:4295)
     at android.app.ActivityThread.handleSendResult (ActivityThread.java:4339)
     at android.app.ActivityThread.-wrap19 (Unknown Source)
     at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1668)
     at android.os.Handler.dispatchMessage (Handler.java:106)
     at android.os.Looper.loop (Looper.java:164)
     at android.app.ActivityThread.main (ActivityThread.java:6523)
     at java.lang.reflect.Method.invoke (Native Method)
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:438)
     at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:857)
   Caused by: java.lang.SecurityException: 
     at android.os.Parcel.readException (Parcel.java:2005)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:183)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:135)
     at android.content.ContentProviderProxy.delete (ContentProviderNative.java:547)
     at android.content.ContentResolver.delete (ContentResolver.java:1636)
     at org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage (CameraLauncher.java:1227)
     at org.apache.cordova.camera.CameraLauncher.cleanup (CameraLauncher.java:1193)
     at org.apache.cordova.camera.CameraLauncher.processResultFromCamera (CameraLauncher.java:595)
     at org.apache.cordova.camera.CameraLauncher.onActivityResult (CameraLauncher.java:805)
     at org.apache.cordova.CordovaInterfaceImpl.onActivityResult (CordovaInterfaceImpl.java:152)
     at org.apache.cordova.CordovaActivity.onActivityResult (CordovaActivity.java:358)
     at android.app.Activity.dispatchActivityResult (Activity.java:7290)
     at android.app.ActivityThread.deliverResults (ActivityThread.java:4291)
   
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org