Unsupport DebugActivity & EntryProvider in Settings.
Set SpaEnvironment (with Spp only) in SettingsApplication Remove DebugActivity & EntryProvider from Settings. Bug: 244122804 Test: manual - build Settings Change-Id: I18e97c80b4f1d6094bb22cf28e7e84ea325869d7
This commit is contained in:
@@ -36,7 +36,7 @@ import com.android.settingslib.spa.framework.common.SettingsPageProviderReposito
|
||||
import com.android.settingslib.spa.framework.common.SpaEnvironment
|
||||
import com.android.settingslib.spaprivileged.template.app.TogglePermissionAppListTemplate
|
||||
|
||||
object SettingsSpaEnvironment : SpaEnvironment() {
|
||||
open class SettingsSpaEnvironment : SpaEnvironment() {
|
||||
override val pageProviderRepository = lazy {
|
||||
val togglePermissionAppListTemplate = TogglePermissionAppListTemplate(
|
||||
allProviders = listOf(
|
||||
@@ -65,8 +65,4 @@ object SettingsSpaEnvironment : SpaEnvironment() {
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
override val browseActivityClass = SpaActivity::class.java
|
||||
|
||||
override val entryProviderAuthorities = "com.android.settings.spa.provider"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user