Add global flag for settings catalyst
Bug: 323791114 Flag: com.android.settings.flags.catalyst Test: Presubmit Change-Id: I1addb2391405ced12f0b32b2415608cf3a472c37
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.settings;
|
||||
|
||||
import static com.android.settingslib.flags.Flags.settingsCatalyst;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
@@ -73,7 +71,7 @@ public class SettingsApplication extends Application {
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
if (settingsCatalyst()) {
|
||||
if (Flags.catalyst()) {
|
||||
PreferenceScreenRegistry.INSTANCE.setPreferenceScreensSupplier(
|
||||
this::getPreferenceScreens);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user