Caused by: android.os.FileUriExposedException:
file:///storage/9016-4EF8/Android/data/com.example.android.emojify/cache/JPEG_20170707_121204_1635028525.jpg
exposed beyond app through ClipData.Item.
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1816)
...
at com.example.android.emojify.MainActivity.launchCamera(MainActivity.java:151)
at com.example.android.emojify.MainActivity.emojifyMe(MainActivity.java:93)
at java.lang.reflect.Method.invoke(Native Method)
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
at android.view.View.performClick(View.java:5646)
Hello, I'm having a crash due to a FileUriExposedException on the 2nd Exercice ([https://github.com/udacity/AdvancedAndroid_Emojify/tree/TLIB.02-Solution-DetectFaces]()) my device is a Honor 5C.
Is anyone else having this problem ?