aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-08-23 19:43:09 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-23 19:43:09 +0000
commit57bd268ce76ac24bf3e86bbb8b421f1767122593 (patch)
tree843a0070ff79c81abc9074d77ff8438bf305b084
parent90a714cad1dac6fd2cfe3d2d51882d26c32a8d94 (diff)
parent2711dadbedb03a82fb7ed959957bf1c78fd56628 (diff)
downloadlibgdx-57bd268ce76ac24bf3e86bbb8b421f1767122593.tar.gz
Request render before waiting am: c9f4debdb1 am: 334959c9b0
am: 2711dadbed Change-Id: I3a14c3d5aa0e15c0cd0ce45cd08e80b22fd859c7
-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!");