OSDN Git Service

Use resource ID for searchable description
authorBjorn Bringert <bringert@android.com>
Wed, 10 Feb 2010 16:10:54 +0000 (16:10 +0000)
committerBjorn Bringert <bringert@android.com>
Wed, 10 Feb 2010 21:22:57 +0000 (21:22 +0000)
commit23897c16a603748db83c59a280b6e6079bf57175
tree948ae4929f7d21d30951afdee86ede3d83274185
parentf67119bce50f7d0fd4d708bd033ec33465239373
Use resource ID for searchable description

Before, SearchableInfo read and cached the localized
searchable description, which meant that it was not updated
on locale changes. Now SearchableInfo only holds the resource
ID.

SearchableInfo is a new API in Froyo, so it's ok to change.

Part of http://b/issue?id=2175247

Change-Id: I1898f7895b9172f58419d906ad741cb7dd1e7252
api/current.xml
core/java/android/app/SearchableInfo.java