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:
@@ -56,17 +56,14 @@ import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.dashboard.DashboardFragment;
|
||||
import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settingslib.core.AbstractPreferenceController;
|
||||
import com.android.settingslib.search.SearchIndexable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
/*
|
||||
* Displays Wi-fi p2p settings UI
|
||||
*/
|
||||
@SearchIndexable
|
||||
public class WifiP2pSettings extends DashboardFragment
|
||||
implements PersistentGroupInfoListener, PeerListListener, DeviceInfoListener {
|
||||
|
||||
@@ -634,7 +631,4 @@ public class WifiP2pSettings extends DashboardFragment
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.wifi_p2p_settings);
|
||||
}
|
||||
|
Reference in New Issue
Block a user