void showFilePicker() {
final Intent getContentIntent = new Intent(Intent.ACTION_GET_CONTENT);
getContentIntent.setType("application/zip");
getContentIntent.addCategory(Intent.CATEGORY_OPENABLE);
Intent intent = Intent.createChooser(getContentIntent, getString(R.string.select_a_file));
<BUG>startActivityForResult(intent, IMPORT_FROM_URI);
}</BUG>
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);

void showFilePicker() {
final Intent getContentIntent = new Intent(Intent.ACTION_GET_CONTENT);
getContentIntent.setType("application/zip");
getContentIntent.addCategory(Intent.CATEGORY_OPENABLE);
Intent intent = Intent.createChooser(getContentIntent, getString(R.string.select_a_file));
startActivityForResult(intent, IMPORT_FROM_URI);
}
@OnPermissionDenied(Manifest.permission.WRITE_EXTERNAL_STORAGE)
void showDeniedForWrite() {
getActivity().onBackPressed();
}
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
