Fix Settings usb preference search
* Invert isPageSearchEnabled check Bug: 192449168 Test: manual testing with TestDPC Change-Id: I91dcf930485ad16a83cb04bf170c9608c1768ea2
This commit is contained in:
@@ -107,7 +107,7 @@ public class UsbDetailsFragment extends DashboardFragment {
|
|||||||
@Override
|
@Override
|
||||||
protected boolean isPageSearchEnabled(Context context) {
|
protected boolean isPageSearchEnabled(Context context) {
|
||||||
return checkIfUsbDataSignalingIsDisabled(
|
return checkIfUsbDataSignalingIsDisabled(
|
||||||
context, UserHandle.myUserId()) != null;
|
context, UserHandle.myUserId()) == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user