Remove context from getSupportFeatureProvider

Bug: 286764889
Test: m Settings
Change-Id: I5635c7a809fd24d59da377993c7d1435d0c839e3
This commit is contained in:
Chaohui Wang
2023-07-04 13:21:33 +08:00
parent 778c2dc3d5
commit da796d80f1
7 changed files with 9 additions and 13 deletions

View File

@@ -95,8 +95,6 @@ open class FeatureFactoryImpl : FeatureFactory() {
override val hardwareInfoFeatureProvider: HardwareInfoFeatureProvider =
HardwareInfoFeatureProviderImpl
override fun getSupportFeatureProvider(context: Context): SupportFeatureProvider? = null
override val metricsFeatureProvider by lazy { SettingsMetricsFeatureProvider() }
override fun getPowerUsageFeatureProvider(context: Context) = powerUsageFeatureProvider