Update Settings App for SpaEnvironment

Bug: 249028339
Test: Manual with Settings App
Change-Id: I4b174d250f20e827a383508beb3c9709128863ba
This commit is contained in:
Chaohui Wang
2022-09-27 19:52:10 +08:00
parent 787006017c
commit ff5d430acc
4 changed files with 9 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ import android.content.Context
import android.content.Intent
import com.android.settingslib.spa.framework.BrowseActivity
class SpaActivity : BrowseActivity(SpaEnvironment.settingsPageProviders) {
class SpaActivity : BrowseActivity(SettingsSpaEnvironment) {
companion object {
@JvmStatic
fun startSpaActivity(context: Context, destination: String) {
@@ -31,4 +31,3 @@ class SpaActivity : BrowseActivity(SpaEnvironment.settingsPageProviders) {
}
}
}