commit | 334959c9b0415648a48de8cd4514f10aaa60ebe4 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Aug 23 19:13:03 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Aug 23 19:13:03 2016 +0000 |
tree | 843a0070ff79c81abc9074d77ff8438bf305b084 | |
parent | ee129dc3b72eea30b620b791a58071af1b0eb0da [diff] | |
parent | c9f4debdb17e1f3b9fca74a03f6593c12aa9327d [diff] |
Request render before waiting am: c9f4debdb1 Change-Id: I1c38fd83249438d2b6310f876b45909a7fa2fffb
diff --git a/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java b/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java index 5fcd0e4..0cb0368 100644 --- a/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java +++ b/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java
@@ -136,6 +136,7 @@ // by jw: added synchronization, there was nothing before while (resume) { try { + requestRendering(); synch.wait(); } catch (InterruptedException ignored) { Gdx.app.log("AndroidGraphics", "waiting for resume synchronization failed!");