kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
afed60f870
commit
79a88f378b
|
@ -322,9 +322,9 @@ public class CreateProfileActivity extends BaseActionBarActivity implements Inje
|
||||||
}
|
}
|
||||||
|
|
||||||
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
|
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
|
||||||
cameraIntent.putExtra(EXTRA_OUTPUT, Uri.fromFile(captureFile));
|
|
||||||
|
|
||||||
if (captureFile != null && cameraIntent.resolveActivity(getPackageManager()) != null) {
|
if (captureFile != null && cameraIntent.resolveActivity(getPackageManager()) != null) {
|
||||||
|
cameraIntent.putExtra(EXTRA_OUTPUT, Uri.fromFile(captureFile));
|
||||||
extraIntents.add(cameraIntent);
|
extraIntents.add(cameraIntent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue