mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 14:08:00 +01:00
parent
1b30b011b2
commit
6bcb522d59
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue