Skip to content

Commit 0cc0897

Browse files
committed
GH-420 (all) DATA_URL is improperly prefixed
1 parent b849328 commit 0cc0897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/android/CameraLauncher.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,13 +1271,13 @@ public void processPicture(Bitmap bitmap, int encodingType) {
12711271
byte[] output = Base64.encode(code, Base64.NO_WRAP);
12721272
String js_out = new String(output);
12731273
String base64Prefix = "data:" + imageMimeType + ";base64,";
1274-
String final_js_out = base64Prefix + js_out;
1274+
String finalJsOut = base64Prefix + js_out;
12751275

1276-
this.callbackContext.success(final_js_out);
1276+
this.callbackContext.success(finalJsOut);
12771277

12781278
js_out = null;
12791279
base64Prefix = null;
1280-
final_js_out = null;
1280+
finalJsOut = null;
12811281
output = null;
12821282
code = null;
12831283
}

0 commit comments

Comments
 (0)