mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
fix(android): Improper serialization of image uri in save instance state (#903)
This commit is contained in:
parent
36bf8e7331
commit
16325102c7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user