aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-08-23 19:25:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-23 19:25:30 +0000
commit2711dadbedb03a82fb7ed959957bf1c78fd56628 (patch)
tree843a0070ff79c81abc9074d77ff8438bf305b084
parentee129dc3b72eea30b620b791a58071af1b0eb0da (diff)
parent334959c9b0415648a48de8cd4514f10aaa60ebe4 (diff)
downloadlibgdx-2711dadbedb03a82fb7ed959957bf1c78fd56628.tar.gz
Request render before waiting am: c9f4debdb1
am: 334959c9b0 Change-Id: I9a85dcb39b74641b0810f59e7ad8673356868e89
-rw-r--r--backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphicsLiveWallpaper.java1
1 files changed, 1 insertions, 0 deletions
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 5fcd0e421..0cb036837 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 @@ public final class AndroidGraphicsLiveWallpaper extends AndroidGraphics {
// 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!");