Suppress emergency page search when needed.
When controller#shouldSuppressFromSearch returns true, suppresses page search. Fix: 268664782 Test: manual Change-Id: Ida543ae47aed36380200d938ea31fe80195b7186
This commit is contained in:
@@ -54,8 +54,8 @@ public class EmergencyGestureSettings extends DashboardFragment {
|
|||||||
final EmergencyGestureEntrypointPreferenceController controller =
|
final EmergencyGestureEntrypointPreferenceController controller =
|
||||||
new EmergencyGestureEntrypointPreferenceController(context,
|
new EmergencyGestureEntrypointPreferenceController(context,
|
||||||
"dummy_emergency_gesture_pref_key");
|
"dummy_emergency_gesture_pref_key");
|
||||||
return !controller.isAvailable()
|
return controller.isAvailable()
|
||||||
|| controller.shouldSuppressFromSearch();
|
&& !controller.shouldSuppressFromSearch();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user