Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d604ca93 authored by Yanting Yang's avatar Yanting Yang Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE for ConfigureNotificationSettings" into sc-dev

parents f575da48 a1a30296
Loading
Loading
Loading
Loading
+16 −13
Original line number Diff line number Diff line
@@ -127,6 +127,8 @@ public class ConfigureNotificationSettings extends DashboardFragment implements
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        // TODO(b/182237530): This method should be removed when this flag is deprecated.
        if (!FeatureFlagUtils.isEnabled(getContext(), FeatureFlags.SILKY_HOME)) {
            final PreferenceScreen screen = getPreferenceScreen();
            final Bundle arguments = getArguments();

@@ -144,6 +146,7 @@ public class ConfigureNotificationSettings extends DashboardFragment implements
                }
            }
        }
    }

    @Override
    public boolean onPreferenceTreeClick(Preference preference) {