Эх сурвалжийг харах

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

David A. Velasco 11 жил өмнө
parent
commit
1caeb59e9d

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