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:
@@ -30,9 +30,7 @@ import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.Utils;
|
||||
import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settings.widget.RadioButtonPickerFragment;
|
||||
import com.android.settingslib.search.SearchIndexable;
|
||||
import com.android.settingslib.widget.CandidateInfo;
|
||||
import com.android.settingslib.widget.FooterPreference;
|
||||
import com.android.settingslib.widget.RadioButtonPreference;
|
||||
@@ -44,7 +42,6 @@ import java.util.List;
|
||||
/**
|
||||
* Provides options for selecting the default USB mode.
|
||||
*/
|
||||
@SearchIndexable
|
||||
public class UsbDefaultFragment extends RadioButtonPickerFragment {
|
||||
@VisibleForTesting
|
||||
UsbBackend mUsbBackend;
|
||||
@@ -195,7 +192,4 @@ public class UsbDefaultFragment extends RadioButtonPickerFragment {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.usb_default_fragment);
|
||||
}
|
Reference in New Issue
Block a user