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

Commit c7652b99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove a second unwanted search result"

parents 7036377d 8c5bc0ab
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ public class ScreenLockSettings extends DashboardFragment

    private static final String TAG = "ScreenLockSettings";

    private static final String KEY_LOCK_SCREEN_TITLE = "security_settings_password_sub_screen";

    private static final int MY_USER_ID = UserHandle.myUserId();
    private LockPatternUtils mLockPatternUtils;

@@ -102,5 +104,12 @@ public class ScreenLockSettings extends DashboardFragment
                    return buildPreferenceControllers(context, null /* parent */,
                            null /* lifecycle */, new LockPatternUtils(context));
                }

                @Override
                public List<String> getNonIndexableKeys(Context context) {
                    final List<String> keys = super.getNonIndexableKeys(context);
                    keys.add(KEY_LOCK_SCREEN_TITLE);
                    return keys;
                }
            };
}