mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-02 08:16:44 +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() {
|
private void handleIntent() {
|
||||||
final Intent intent = getIntent();
|
final Intent intent = getIntent();
|
||||||
if (intent != null && intent.getAction() != null) {
|
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;
|
mIsImageCaptureIntent = true;
|
||||||
hideToggleModeAbout();
|
hideToggleModeAbout();
|
||||||
final Object output = intent.getExtras().get(MediaStore.EXTRA_OUTPUT);
|
final Object output = intent.getExtras().get(MediaStore.EXTRA_OUTPUT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user