Add global flag for settings catalyst
Bug: 323791114 Flag: com.android.settings.flags.catalyst Test: Presubmit Change-Id: I1addb2391405ced12f0b32b2415608cf3a472c37
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
*/
|
||||
package com.android.settings.dashboard;
|
||||
|
||||
import static com.android.settingslib.flags.Flags.settingsCatalyst;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.settings.SettingsEnums;
|
||||
import android.content.ContentResolver;
|
||||
@@ -390,7 +388,7 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment
|
||||
|
||||
/** Returns if catalyst is enabled on current screen. */
|
||||
protected final boolean isCatalystEnabled() {
|
||||
if (!settingsCatalyst()) {
|
||||
if (!Flags.catalyst()) {
|
||||
return false;
|
||||
}
|
||||
Context context = getContext();
|
||||
|
||||
Reference in New Issue
Block a user