Revert "Settings search - Navigate user to exact page"
This reverts commit 08f2a58459
.
Reason for revert: design changed, we decide to take the user to
the entry after clicking on a search result.
It's opposite with what we did, so we revert related CL first.
Test: robotest
Change-Id: Iadb9a94a7ef7838be34a54499e2d934d6396c336
This commit is contained in:
@@ -57,6 +57,9 @@ public class LockscreenDashboardFragment extends DashboardFragment
|
||||
@VisibleForTesting
|
||||
static final String KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE =
|
||||
"security_setting_lock_screen_notif_work";
|
||||
@VisibleForTesting
|
||||
static final String KEY_ADD_USER_FROM_LOCK_SCREEN =
|
||||
"security_lockscreen_add_users_when_locked";
|
||||
|
||||
|
||||
private AmbientDisplayConfiguration mConfig;
|
||||
@@ -138,6 +141,13 @@ public class LockscreenDashboardFragment extends DashboardFragment
|
||||
return controllers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getNonIndexableKeys(Context context) {
|
||||
final List<String> niks = super.getNonIndexableKeys(context);
|
||||
niks.add(KEY_ADD_USER_FROM_LOCK_SCREEN);
|
||||
return niks;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isPageSearchEnabled(Context context) {
|
||||
return new LockScreenPreferenceController(context, "anykey")
|
||||
|
Reference in New Issue
Block a user