I have an app that saves a file in pictures directory of the internal memory of the phone. I have this in my manifest:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
In android documentation it says that you must request for permission in execution (not installation) in devices with android 6 or later. But I have tested it in three devices:
- Moto E with android 7.0
- Moto E with android 7.1
- Huawei P8 Lite with android 6.0
And it saves the file just with the permission in the manifest, without requesting it. I would like to test the new code I have to add to handle this in a device that requires the permission in runtime, why these 3 devices don't require it?