From 6bcb522d5976761e10907ee55c382504e6dfb07e Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 12 Jul 2016 11:10:57 +0200 Subject: [PATCH] use a different action at the Camera icon closes #6 --- .../com/simplemobiletools/gallery/activities/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/MainActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/MainActivity.java index 06062033c..06a448c39 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/MainActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/MainActivity.java @@ -98,7 +98,7 @@ public class MainActivity extends AppCompatActivity public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.camera: { - final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); + final Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); startActivity(intent); return true; }