Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96f8e4ee authored by linus_lee's avatar linus_lee
Browse files

CMFileManager: Add WRITE_MEDIA_STORAGE permission for devices without root

For devices that don't have root access, we need to add the WRITE_MEDIA_STORAGE
permission to get write access to the secondary external storage directory to
rename/copy/delete files

Change-Id: I4145bec0dd0c38414d8557f1ddc61bbb22d00359
parent b2bbed6b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@

  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
  <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
  <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
  <uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>