瀏覽代碼

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

David A. Velasco 11 年之前
父節點
當前提交
1caeb59e9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);