add file check for A10 #379

This commit is contained in:
afischerdev 2021-12-28 10:49:56 +01:00
parent 010141af47
commit 7b460d25d3
2 changed files with 20 additions and 9 deletions

View file

@ -596,7 +596,7 @@ public class BRouterActivity extends Activity implements ActivityCompat.OnReques
}
}
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R
&& checkExternalStorageWritable()) {
res.add(Environment.getExternalStorageDirectory());
}