mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
51278d3f30
commit
52fc64c602
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user