OSDN Git Service

Add indexing for SwitchPreferences
authorFabrice Di Meglio <fdimeglio@google.com>
Thu, 3 Apr 2014 02:37:39 +0000 (19:37 -0700)
committerFabrice Di Meglio <fdimeglio@google.com>
Thu, 3 Apr 2014 02:37:39 +0000 (19:37 -0700)
commitdd41dfc483e830bdb33df858dec99e2c4c806bfc
tree76fd9bb4ba48c4604afc9d97984ff7a5867afa1c
parenta41707200b6628376e8fb575e782d8228c0d32a2
Add indexing for SwitchPreferences

- now support the SwitchPreferences and save the "switchOn" and "switchOff"
attributes
- update Index database schema (and increment its version)
- fix an issue with some previous schema not rebuilt

Change-Id: I9cd48c666525f19474ef9bd5746d61b589058063
src/com/android/settings/search/Index.java
src/com/android/settings/search/IndexDatabaseHelper.java
src/com/android/settings/search/SearchIndexableRaw.java