We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efbf9f commit ec7529fCopy full SHA for ec7529f
app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt
@@ -642,6 +642,7 @@ open class MainActivity : AppCompatActivity(),
642
val intent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
643
644
mediaFile = "wp-" + System.currentTimeMillis() + ".jpg"
645
+ @Suppress("DEPRECATION")
646
mediaPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).toString() +
647
File.separator + "Camera" + File.separator + mediaFile
648
intent.putExtra(MediaStore.EXTRA_OUTPUT, FileProvider.getUriForFile(this,
0 commit comments