diff options
author | Satish Sampath <satish@android.com> | 2009-06-02 23:35:54 +0100 |
---|---|---|
committer | Satish Sampath <satish@android.com> | 2009-06-03 07:54:42 +0100 |
commit | 8dbe612dc60526d635e57257b58627b33a099678 (patch) | |
tree | 2f02924de3a2e890aab2d4a75a1b52d2e2aa1328 /media | |
parent | 5f784df5680e07f6cbc5d929560dfadc0e22db3b (diff) | |
download | frameworks_base-8dbe612dc60526d635e57257b58627b33a099678.zip frameworks_base-8dbe612dc60526d635e57257b58627b33a099678.tar.gz frameworks_base-8dbe612dc60526d635e57257b58627b33a099678.tar.bz2 |
Adding internal method replacePreferredActivity.
This was required because we need a way to set the preferred activity for a
particular intent filter based on user selection (in our case the
ACTION_WEB_SEARCH intent filter for selecting the preferred search engine from
the list of available search engines providers). The current
addPreferredActivity call was not sufficient since it leaves the existing
preferred activities in the list and does not remove them, which this call
does.
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions