소스 검색

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