Don't rely on the intent action to decide whether to block auto lock

This commit is contained in:
Alexander Bakker 2021-05-08 10:42:04 +02:00
parent 813bf292fa
commit ad0088eca6
6 changed files with 71 additions and 37 deletions

View file

@ -427,7 +427,7 @@ public class EditEntryActivity extends AegisActivity {
Intent chooserIntent = Intent.createChooser(galleryIntent, getString(R.string.select_icon));
chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, new Intent[] { fileIntent });
startActivityForResult(chooserIntent, PICK_IMAGE_REQUEST);
AegisActivity.Helper.startExtActivityForResult(this, chooserIntent, PICK_IMAGE_REQUEST);
}
private void startIconSelection() {