ContentManager
ContentManager copied to clipboard
The method contentManager.takePhoto() crashes the application, requiring the permission of android.permission.CAMERA
The method contentManager.pickContent(ContentManager.Content.IMAGE) asks for permission when called, and the method contentManager.takePhoto() does not request permission and crashes the system.
java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.google.android.GoogleCamera/com.android.camera.CaptureActivity clip={text/uri-list U:content://media/external/images/media/16349} (has extras) } from ProcessRecord{ea458e7 15188:com.kostasoft.help_signal_purchase/u0a207} (pid=15188, uid=10207) with revoked permission android.permission.CAMERA