Device OS Version and Device: Android 7 on Nexus 5X
Issue description
The Android OS will destroy activities when the user navigates away from them if the device is low on memory.
If the device is in this mode, when the user navigates to the camera activity from their app, when an attempt to navigate back to the app is made, the app crashes with the following exception:
General information
Issue description
The Android OS will destroy activities when the user navigates away from them if the device is low on memory.
If the device is in this mode, when the user navigates to the camera activity from their app, when an attempt to navigate back to the app is made, the app crashes with the following exception:
The standard way to fix this is to override
onRestoreStateForActivityResult
in the Android Activity.Steps to reproduce: