コード例 #1
0
 public static void bookServiceReset() {
   Prefs.putInt(BOOK_SERVICE_STATUS_KEY, BOOK_SERVICE_STATUS_UNKNOWN);
 }
コード例 #2
0
 @SuppressWarnings("ResourceType")
 public static @BookService.BookServiceStatus int getBookServiceStatus() {
   return Prefs.getInt(BOOK_SERVICE_STATUS_KEY, BookService.BOOK_SERVICE_STATUS_UNKNOWN);
 }