From 8b98f85470c55c2322644af13eef6dfe759a8153 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Fri, 11 Sep 2020 12:22:29 +1000 Subject: [PATCH] Uncomment accidently commented code. --- src/org/thoughtcrime/securesms/CreateProfileActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/thoughtcrime/securesms/CreateProfileActivity.java b/src/org/thoughtcrime/securesms/CreateProfileActivity.java index 57836e6bd6..9be993d218 100644 --- a/src/org/thoughtcrime/securesms/CreateProfileActivity.java +++ b/src/org/thoughtcrime/securesms/CreateProfileActivity.java @@ -213,10 +213,10 @@ public class CreateProfileActivity extends BaseActionBarActivity implements Inje this.reveal = ViewUtil.findById(this, R.id.reveal); this.nextIntent = getIntent().getParcelableExtra(NEXT_INTENT); -// this.avatar.setOnClickListener(view -> Permissions.with(this) -// .request(Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE) -// .onAnyResult(this::startAvatarSelection) -// .execute()); + this.avatar.setOnClickListener(view -> Permissions.with(this) + .request(Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE) + .onAnyResult(this::startAvatarSelection) + .execute()); this.name.getInput().addTextChangedListener(new TextWatcher() { @Override