Skip to content

The method contentManager.takePhoto() crashes the application, requiring the permission of android.permission.CAMERA  #8

@kostasoft

Description

@kostasoft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions