mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-16 11:23:23 +00:00
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