mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-02-03 00:06:46 +08:00
fix(android): Improper serialization of image uri in save instance state (#903)
This commit is contained in:
@@ -1378,7 +1378,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
}
|
||||
|
||||
if (this.imageUri != null) {
|
||||
state.putString(IMAGE_URI_KEY, this.imageFilePath);
|
||||
state.putString(IMAGE_URI_KEY, this.imageUri.toString());
|
||||
}
|
||||
|
||||
if (this.imageFilePath != null) {
|
||||
|
||||
Reference in New Issue
Block a user