Code refactoring

This commit is contained in:
Sebastián Katzer
2017-01-30 11:36:10 +01:00
parent 510518a42f
commit 96efffb319
4 changed files with 187 additions and 112 deletions

View File

@@ -132,7 +132,7 @@ exports.configure = function (options) {
*/
exports.disableWebViewOptimizations = function () {
if (this._isAndroid) {
cordova.exec(null, null, 'BackgroundMode', 'disableWebViewOptimizations', []);
cordova.exec(null, null, 'BackgroundMode', 'optimizations', []);
}
};