Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ec80c98 authored by Roman Birg's avatar Roman Birg
Browse files

Settings: fix indexing for saved access point settings



We are including custom logic, so we need to set NO_DATA_RES_ID.

Ref: YAM-141

Change-Id: Ibd242bd3a05b06f6a54504543219fc524127b71d
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent fb52740b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ public class IndexDatabaseHelper extends SQLiteOpenHelper {
    private static final String TAG = "IndexDatabaseHelper";

    private static final String DATABASE_NAME = "search_index.db";
    private static final int DATABASE_VERSION = 117;
    private static final int DATABASE_VERSION = 118;

    public interface Tables {
        public static final String TABLE_PREFS_INDEX = "prefs_index";
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ public final class SearchIndexableResources {
        sResMap.put(SavedAccessPointsWifiSettings.class.getName(),
                new SearchIndexableResource(
                        Ranking.getRankForClassName(SavedAccessPointsWifiSettings.class.getName()),
                        R.xml.wifi_display_saved_access_points,
                        NO_DATA_RES_ID,
                        SavedAccessPointsWifiSettings.class.getName(),
                        R.drawable.ic_settings_wireless));