# HG changeset patch # User Carl Byington # Date 1736541028 25200 # Node ID 2b41d177f96b89befdd40f3e3274f85a99a2785d # Parent 4ac13a6984d2d3df44838f9306b5b9401f04fd9b add missing WRITE_EXTERNAL_STORAGE for android 10 diff -r 4ac13a6984d2 -r 2b41d177f96b app/src/main/AndroidManifest.xml --- a/app/src/main/AndroidManifest.xml Tue Dec 31 13:58:46 2024 -0700 +++ b/app/src/main/AndroidManifest.xml Fri Jan 10 13:30:28 2025 -0700 @@ -17,8 +17,8 @@ --> @@ -34,7 +34,7 @@ - + = Build.VERSION_CODES.M) { + // >= api 23 android 6 get_permissions(new String[] {Manifest.permission.ACCESS_NETWORK_STATE, Manifest.permission.INTERNET, Manifest.permission.WAKE_LOCK}); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { + // >= api 30 android 11 get_storage_manager(); } else { + // <= api 29 android 10 get_permissions(new String[] {Manifest.permission.WRITE_EXTERNAL_STORAGE}); } }