Unbreak build_android by not depending on PreferenceManager from androidx (#45872)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/45872

build_android is currently broken, this should fix it.

Changelog:
[Internal] [Changed] - Unbreak build_android by not depending on PreferenceManager from androidx

Reviewed By: cipolleschi, hezi

Differential Revision: D60652912

fbshipit-source-id: a089609c6643c40c95919fdc882a89406f6ce871
This commit is contained in:
Nicola Corti
2024-08-02 09:14:01 -07:00
committed by Facebook GitHub Bot
parent 51278d3f30
commit 52fc64c602
@@ -5,11 +5,13 @@
* LICENSE file in the root directory of this source tree.
*/
@file:Suppress("DEPRECATION") // PreferenceManager should be migrated to androidx
package com.facebook.react.packagerconnection
import android.content.Context
import android.content.SharedPreferences
import androidx.preference.PreferenceManager
import android.preference.PreferenceManager
import com.facebook.common.logging.FLog
import com.facebook.react.modules.systeminfo.AndroidInfoHelpers