Merge "Use new API of SpaEnvironmentFactory."

This commit is contained in:
Zekan Qian
2022-10-17 05:13:19 +00:00
committed by Android (Google) Code Review

View File

@@ -61,7 +61,7 @@ public class SettingsApplication extends Application {
* Override this function to set different spa environment for different Settings app.
*/
protected void setSpaEnvironment() {
SpaEnvironmentFactory.INSTANCE.setInstance(new SettingsSpaEnvironment());
SpaEnvironmentFactory.INSTANCE.reset(new SettingsSpaEnvironment());
}
public void setHomeActivity(SettingsHomepageActivity homeActivity) {