From: David A. Velasco Date: Tue, 3 Jun 2014 06:24:42 +0000 (+0200) Subject: Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be... X-Git-Tag: oc-android-1.7.0_signed~294^2~1 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/1caeb59e9dd66e7c4cd0ca1b254d54509ae929a8?ds=inline;hp=--cc Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be a problem --- 1caeb59e9dd66e7c4cd0ca1b254d54509ae929a8 diff --git a/src/com/owncloud/android/notifications/NotificationDelayer.java b/src/com/owncloud/android/notifications/NotificationDelayer.java index 61cb07b2..aeefe12c 100644 --- a/src/com/owncloud/android/notifications/NotificationDelayer.java +++ b/src/com/owncloud/android/notifications/NotificationDelayer.java @@ -23,7 +23,7 @@ public class NotificationDelayer { handler.postDelayed(new Runnable() { public void run() { notificationManager.cancel(notificationId); - ((HandlerThread)Thread.currentThread()).getLooper().quitSafely(); + ((HandlerThread)Thread.currentThread()).getLooper().quit(); } }, delayInMillis);