Messaging: Get rid of storage permissions

Since these have no effect on sdk 33 and up and everything works without
them we can get rid of those

Change-Id: I0482d8b8772dc2c64bb1930fbc6ba4852f4b4c61
This commit is contained in:
Michael W
2024-12-26 16:13:52 +01:00
parent 161c3e9fd9
commit edb268697c
4 changed files with 20 additions and 42 deletions
@@ -119,13 +119,6 @@ public class OsUtil {
return OsUtil.hasPermission(Manifest.permission.ACCESS_FINE_LOCATION);
}
public static boolean hasStoragePermission() {
// Note that READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are granted or denied
// together.
return OsUtil.hasPermission(Manifest.permission.READ_EXTERNAL_STORAGE);
}
public static boolean hasRecordAudioPermission() {
return OsUtil.hasPermission(Manifest.permission.RECORD_AUDIO);
}