diff options
| author | 2009-06-22 10:03:21 +0100 | |
|---|---|---|
| committer | 2009-06-22 10:05:48 +0100 | |
| commit | a68ca641e61f85ab9fffa7b782f693b7305df66c (patch) | |
| tree | 8423e44a55dae3e03e84a8d7b7abd2b2a06c3093 /libs/utils/BackupData.cpp | |
| parent | 3e3324bae45ff21615c07507e6918ad21681a6a2 (diff) | |
Remove checks for Activity Context when creating SearchManager
Since https://android-git.corp.google.com/g/3880
all activities create a SearchManager object, to handle
saving and restoring the search dialog. This broke
ActivityUnitTestCase, since ApplicationContext.getSearchManager()
threw an exception in non-activity contexts.
This change removes the activity context check from
getSearchManager(). Since SearchManager is now just a thin
wrapper for SearchManagerService, there shouldn't be anything
activity-specific in it.
Fixes http://b/issue?id=1926254
Diffstat (limited to 'libs/utils/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions