From 1caeb59e9dd66e7c4cd0ca1b254d54509ae929a8 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 3 Jun 2014 08:24:42 +0200 Subject: [PATCH 1/1] Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be a problem --- src/com/owncloud/android/notifications/NotificationDelayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0