Clean up FeatureFactory.getFeature()
Bug: 286764889 Test: m Settings Change-Id: I7e472e6b0ca6b7a735c1b92742ddf06c545176fc
This commit is contained in:
@@ -170,16 +170,5 @@ abstract class FeatureFactory {
|
||||
_appContext = appContext
|
||||
_factory = factory
|
||||
}
|
||||
|
||||
/** Returns a factory for creating feature controllers. */
|
||||
@Deprecated(
|
||||
"Replace with featureFactory without Context",
|
||||
ReplaceWith(
|
||||
"featureFactory",
|
||||
"com.android.settings.overlay.FeatureFactory.Companion.featureFactory",
|
||||
)
|
||||
)
|
||||
@JvmStatic
|
||||
fun getFactory(context: Context?): FeatureFactory = featureFactory
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user