SettingsGoogle: Add ContextualScreenTimeout
Store contextual screen timeout preference when the corresponding switch is toggled. Bug: 295232527 Test: atest ExternalSettingsProviderTest Test: atest ContextualTimeoutPreferenceControllerTest Change-Id: I093d180f4b11ebb806c4b1949ff5428520c8f40f
This commit is contained in:
@@ -45,6 +45,8 @@ import com.android.settings.dashboard.suggestions.SuggestionFeatureProvider
|
||||
import com.android.settings.dashboard.suggestions.SuggestionFeatureProviderImpl
|
||||
import com.android.settings.deviceinfo.hardwareinfo.HardwareInfoFeatureProvider
|
||||
import com.android.settings.deviceinfo.hardwareinfo.HardwareInfoFeatureProviderImpl
|
||||
import com.android.settings.display.DisplayFeatureProvider
|
||||
import com.android.settings.display.DisplayFeatureProviderImpl
|
||||
import com.android.settings.enterprise.EnterprisePrivacyFeatureProviderImpl
|
||||
import com.android.settings.fuelgauge.BatterySettingsFeatureProviderImpl
|
||||
import com.android.settings.fuelgauge.BatteryStatusFeatureProviderImpl
|
||||
@@ -190,4 +192,7 @@ open class FeatureFactoryImpl : FeatureFactory() {
|
||||
override val privateSpaceLoginFeatureProvider: PrivateSpaceLoginFeatureProvider by lazy {
|
||||
PrivateSpaceLoginFeatureProviderImpl()
|
||||
}
|
||||
override val displayFeatureProvider: DisplayFeatureProvider by lazy {
|
||||
DisplayFeatureProviderImpl()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user