First I use Unity to open an webview(by plugin named "uniwebview").
Then I open camera or gallery(by stan's android native plugin) or browser(By Application.OpenURL(url)).
After I select picture and back to unity. If adb log like this:

```
I/Unity   (12779): onPause          //open camera and Unity pause
I/Unity   (12779): windowFocusChanged: true    // after take picture, windowFocusChanged set true and unity resume
I/Unity   (12779): onResume
I/Unity   (12779): OnAndroidRetrieveProductsFinished

```

Then Unity work fine, but sometimes if adb log like this:

```
I/Unity   (12779): onPause
I/Unity   (12779): onResume

```

Unity's function will be blocked.The code I had written in Unity will not work but webview still work fine. 
I decompilation classes.jar in Unity and found the function windowFocusChanged:

```
public void windowFocusChanged(final boolean paramBoolean)
  {
    i.Log(4, "windowFocusChanged: " + paramBoolean);
    this.i.a(paramBoolean);
    if ((paramBoolean) && (this.b != null)) {
      reportSoftInputStr(null, 1, false);
    }
    c(new Runnable()
    {
      public final void run()
      {
        UnityPlayer.a(UnityPlayer.this, paramBoolean);
      }
    });
    this.a.a(paramBoolean);
    g();
  }

```

But I don't know why this function is not work. classes.jar has been obfuscated and hard to read.