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 =
|
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