Skip to content

Commit

Permalink
Update BackgroundModeExt.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaurav8547 authored Dec 14, 2020
1 parent 0a6bf35 commit 0bc885c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/android/BackgroundModeExt.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ public void run() {
try {
Thread.sleep(1000);
getApp().runOnUiThread(() -> {
View view = webView.getEngine().getView();

//View view = webView.getEngine().getView();
View view = webView.getView();

try {
Class.forName("org.crosswalk.engine.XWalkCordovaView")
.getMethod("onShow")
Expand Down

0 comments on commit 0bc885c

Please sign in to comment.