mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-01-22 11:29:59 +01:00
one more intent handling correction
This commit is contained in:
parent
b2f38a4cc0
commit
1145be8bda
@ -136,7 +136,8 @@ public class MainActivity extends AppCompatActivity
|
||||
private void handleIntent() {
|
||||
final Intent intent = getIntent();
|
||||
if (intent != null && intent.getAction() != null) {
|
||||
if (intent.getExtras() != null && intent.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE)) {
|
||||
if (intent.getExtras() != null && intent.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE) ||
|
||||
intent.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE_SECURE)) {
|
||||
mIsImageCaptureIntent = true;
|
||||
hideToggleModeAbout();
|
||||
final Object output = intent.getExtras().get(MediaStore.EXTRA_OUTPUT);
|
||||
|
Loading…
Reference in New Issue
Block a user