INNER CODE UNIT · Java

processHide

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

    private static void processHide(Context context) {

        threadHandler.post(() -> {

            Log.i(TAG, "Process 'hide' start.");
            state.postValue(State.PROCESSING);

            try {
                // Determine if we should only disable apps (skip hide step) when XHide is enabled
                boolean disableOnly = PrefMgr.isXHideEnabled() && PrefMgr.getDisableOnlyWithXHide();

                PrefMgr.getAppHider(context).hide(PrefMgr.getHideApps(), disableOnly);
                PrefMgr.getFileHider(context).hide(PrefMgr.getHideFilePath());
            } catch (InterruptedException e) {
                Log.w(TAG, "Process 'hide' interrupted.");
                return;
            }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…