I'm curious about the new Android 6.0 Marshmallow feature, which allows users to explicitly set which permissions applications are allowed to use. My question is how this affects existing applications that use the permission set.
For example, a non-updated application [Target-sdk-version <23] showed permission to use the camera, but the user manually disabled it. What happens to the application when it executes code that uses this permission? Is it just a glitch?
I assume that new applications will need to check whether they have permission before they execute the code, which depends on the permission - my question is about applications that do not change to handle these cases.
source
share