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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user