Skip to content

Commit

Permalink
Remove storage permission for API 19 and up
Browse files Browse the repository at this point in the history
The getExternalFilesDir() directory does not require the WRITE_EXTERNAL_STORAGE permission as of API 19.
  • Loading branch information
kevinpelgrims committed Sep 16, 2016
1 parent 88c1eca commit cc95d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<manifest package="com.google.android.cameraview.demo"
xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
Expand Down

0 comments on commit cc95d3b

Please sign in to comment.