Merge "Suppress emergency page search when needed."
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb481f5115
@@ -54,8 +54,8 @@ public class EmergencyGestureSettings extends DashboardFragment {
|
||||
final EmergencyGestureEntrypointPreferenceController controller =
|
||||
new EmergencyGestureEntrypointPreferenceController(context,
|
||||
"dummy_emergency_gesture_pref_key");
|
||||
return !controller.isAvailable()
|
||||
|| controller.shouldSuppressFromSearch();
|
||||
return controller.isAvailable()
|
||||
&& !controller.shouldSuppressFromSearch();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user