You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,11 +217,14 @@ class ReposActivity : CommonActivity(), AdapterView.OnItemClickListener, Activit
216
217
}
217
218
218
219
R.id.repos_options_menu_item_new_git -> {
219
-
if (ContextCompat.checkSelfPermission(this, READ_WRITE_EXTERNAL_STORAGE) ==PackageManager.PERMISSION_GRANTED) {
220
+
if (Build.VERSION.SDK_INT>=Build.VERSION_CODES.R||ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) ==PackageManager.PERMISSION_GRANTED) {
220
221
GitRepoActivity.start(this)
221
222
} else {
222
223
// TODO: Show explanation why possibly, if ActivityCompat.shouldShowRequestPermissionRationale() says so?
0 commit comments