forked from Github/cordova-plugin-run-in-background
Don't get the engine to get the view
This commit is contained in:
@@ -173,7 +173,7 @@ public class BackgroundModeExt extends CordovaPlugin {
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
getApp().runOnUiThread(() -> {
|
||||
View view = webView.getEngine().getView();
|
||||
View view = webView.getView();
|
||||
|
||||
try {
|
||||
Class.forName("org.crosswalk.engine.XWalkCordovaView")
|
||||
|
||||
Reference in New Issue
Block a user