compat/src/main/java/androidx/core/content/SharedPreferencesCompat.java
@Deprecated
        public void apply(@NonNull SharedPreferences.Editor editor) {
            // Note that this redirection is needed to not break the public API chain
            // of getInstance().apply() calls. Otherwise this method could (and should)
            // be static.
            mHelper.apply(editor);
        }
/**
         * @deprecated This compatibility method is no longer required. Use
         * {@link SharedPreferences.Editor#apply()} directly.
         */
@deprecated This compatibility method is no longer required.
@deprecated This compatibility method is no longer required .
@Deprecated
        public void apply(@NonNull SharedPreferences.Editor editor) {
            mHelper.apply(editor);
        }
@ Deprecated public void apply ( @ NonNull SharedPreferences . Editor editor ) { mHelper . apply ( editor ) ; }
@deprecated This compatibility method is no longer required.
@deprecated This compatibility method is no longer required .
// Note that this redirection is needed to not break the public API chain // of getInstance().apply() calls. Otherwise this method could (and should) // be static.