summaryrefslogtreecommitdiffstats
path: root/media/java/android
diff options
context:
space:
mode:
authorSatish Sampath <satish@android.com>2009-06-02 23:35:54 +0100
committerSatish Sampath <satish@android.com>2009-06-03 07:54:42 +0100
commit8dbe612dc60526d635e57257b58627b33a099678 (patch)
tree2f02924de3a2e890aab2d4a75a1b52d2e2aa1328 /media/java/android
parent5f784df5680e07f6cbc5d929560dfadc0e22db3b (diff)
downloadframeworks_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/java/android')
0 files changed, 0 insertions, 0 deletions