Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be...
authorDavid A. Velasco <dvelasco@solidgear.es>
Tue, 3 Jun 2014 06:24:42 +0000 (08:24 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Tue, 3 Jun 2014 06:24:42 +0000 (08:24 +0200)
src/com/owncloud/android/notifications/NotificationDelayer.java

index 61cb07b..aeefe12 100644 (file)
@@ -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);