File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
java/com/gowtham/library/ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22<manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
33
44 <uses-permission android : name =" android.permission.READ_MEDIA_VIDEO" />
5- <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
6- < uses-permission android : name = " android.permission.ACCESS_MEDIA_LOCATION " />
5+ <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE"
6+ android : maxSdkVersion = " 32 " />
77
88 <application >
99 <activity android : name =" .ui.ActVideoTrimmer"
Original file line number Diff line number Diff line change @@ -700,11 +700,11 @@ private boolean checkStoragePermission() {
700700 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU )
701701 {
702702 return checkPermission (
703- Manifest .permission .READ_MEDIA_VIDEO , Manifest . permission . ACCESS_MEDIA_LOCATION );
703+ Manifest .permission .READ_MEDIA_VIDEO );
704704 }
705705 else if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .Q ) {
706706 return checkPermission (
707- Manifest .permission .READ_EXTERNAL_STORAGE , Manifest . permission . ACCESS_MEDIA_LOCATION );
707+ Manifest .permission .READ_EXTERNAL_STORAGE );
708708 } else
709709 return checkPermission (Manifest .permission .READ_EXTERNAL_STORAGE );
710710
You can’t perform that action at this time.
0 commit comments