private void setIsCached(Context context, boolean isCached) { SPUtil.put(context, KEY_IS_CACHE, isCached, KEY_FILE_NAME); }
private void endCache() { setIsCached(this, true); SPUtil.put(this, KEY_LAST_SCAN_TIME, System.currentTimeMillis(), KEY_FILE_NAME); }