mirror of
https://github.com/sdkcarlos/cordova-ourcodeworld-preventscreenshots.git
synced 2025-01-18 21:12: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);
|
result.setKeepCallback(true);
|
||||||
callbacks.sendPluginResult(result);
|
callbacks.sendPluginResult(result);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, "");
|
PluginResult result = new PluginResult(PluginResult.Status.ERROR, e.getMessage());
|
||||||
result.setKeepCallback(true);
|
result.setKeepCallback(true);
|
||||||
callbacks.sendPluginResult(result);
|
callbacks.sendPluginResult(result);
|
||||||
}
|
}
|
||||||
@ -43,7 +43,7 @@ public class OurCodeWorldpreventscreenshots extends CordovaPlugin {
|
|||||||
result.setKeepCallback(true);
|
result.setKeepCallback(true);
|
||||||
callbacks.sendPluginResult(result);
|
callbacks.sendPluginResult(result);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
PluginResult result = new PluginResult(PluginResult.Status.ERROR, "");
|
PluginResult result = new PluginResult(PluginResult.Status.ERROR, e.getMessage());
|
||||||
result.setKeepCallback(true);
|
result.setKeepCallback(true);
|
||||||
callbacks.sendPluginResult(result);
|
callbacks.sendPluginResult(result);
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
return isEnabled;
|
return isEnabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
return core;
|
return core;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user