Bläddra i källkod

Replaced call to 'Looper#quitSafely()' (API 18) for 'Looper#quit()'; shouldn't be a problem

David A. Velasco 11 år sedan
förälder
incheckning
1caeb59e9d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/com/owncloud/android/notifications/NotificationDelayer.java

+ 1 - 1
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);