INNER CODE UNIT · Java

getHideFilePath

deltazefiro/Amarok-Hider · app/src/main/java/deltazero/amarok/PrefMgr.java:82

    public static Set<String> getHideFilePath() {
        // Return a defensive copy to avoid SharedPreferences caching issues
        return new HashSet<>(mPrefs.getStringSet(HIDE_FILE_PATH, new HashSet<>()));
    }

    public static void setHideFilePath(Set<String> path) {
        mPrefEditor.putStringSet(HIDE_FILE_PATH, path);
        mPrefEditor.apply();
    }

    /**
     * Avoid using this method except for initializing {@link Hider}.
     * Use {@link Hider#getState()} instead.
     */
    public static boolean getIsHidden() {
        return mPrefs.getBoolean(IS_HIDDEN, false);
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…