summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dreams/basic/ColorsLockScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dreams/basic/ColorsLockScreen.java b/src/com/android/dreams/basic/ColorsLockScreen.java
index baee696..4cfd9c5 100644
--- a/src/com/android/dreams/basic/ColorsLockScreen.java
+++ b/src/com/android/dreams/basic/ColorsLockScreen.java
@@ -146,7 +146,7 @@ public class ColorsLockScreen extends KeyguardExternalViewProviderService {
});
try {
- mRendererHandlerThread.join();
+ if (mRendererHandlerThread != null) mRendererHandlerThread.join();
} catch (InterruptedException e) {
LOG("Error while waiting for renderer", e);
}