mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
chore(android): Cleanup obsolete BuildConfig comments (#831)
This commit is contained in:
parent
2c09ade500
commit
84166f6355
@ -145,12 +145,10 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
|||||||
*/
|
*/
|
||||||
public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
|
public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
|
||||||
this.callbackContext = callbackContext;
|
this.callbackContext = callbackContext;
|
||||||
//Adding an API to CoreAndroid to get the BuildConfigValue
|
|
||||||
//This allows us to not make this a breaking change to embedding
|
|
||||||
this.applicationId = cordova.getContext().getPackageName();
|
this.applicationId = cordova.getContext().getPackageName();
|
||||||
this.applicationId = preferences.getString("applicationId", this.applicationId);
|
this.applicationId = preferences.getString("applicationId", this.applicationId);
|
||||||
|
|
||||||
|
|
||||||
if (action.equals(TAKE_PICTURE_ACTION)) {
|
if (action.equals(TAKE_PICTURE_ACTION)) {
|
||||||
this.srcType = CAMERA;
|
this.srcType = CAMERA;
|
||||||
this.destType = FILE_URI;
|
this.destType = FILE_URI;
|
||||||
|
Loading…
Reference in New Issue
Block a user