mirror of
https://github.com/sdkcarlos/cordova-ourcodeworld-preventscreenshots.git
synced 2025-01-18 13:02:50 +08:00
Final commit
This commit is contained in:
parent
a64b67faa4
commit
7750039f39
@ -25,7 +25,7 @@ public class OurCodeWorldpreventscreenshots extends CordovaPlugin {
|
||||
result.setKeepCallback(true);
|
||||
callbacks.sendPluginResult(result);
|
||||
}catch(Exception e){
|
||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, "");
|
||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, e.getMessage());
|
||||
result.setKeepCallback(true);
|
||||
callbacks.sendPluginResult(result);
|
||||
}
|
||||
@ -43,7 +43,7 @@ public class OurCodeWorldpreventscreenshots extends CordovaPlugin {
|
||||
result.setKeepCallback(true);
|
||||
callbacks.sendPluginResult(result);
|
||||
}catch(Exception e){
|
||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, "");
|
||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, e.getMessage());
|
||||
result.setKeepCallback(true);
|
||||
callbacks.sendPluginResult(result);
|
||||
}
|
||||
|
@ -35,7 +35,6 @@
|
||||
return isEnabled;
|
||||
};
|
||||
|
||||
|
||||
return core;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user