commit | 83fe6d688ef4a9eb581455152b398d577ea6514c | [log] [tgz] |
---|---|---|
author | Patrick Scott <phanna@android.com> | Thu Mar 18 10:51:39 2010 -0400 |
committer | Patrick Scott <phanna@android.com> | Thu Mar 18 10:59:28 2010 -0400 |
tree | 98ad40ef99038a74dbb03a3616e616b7763b5fba | |
parent | cc9491236354dd59bffc976f6b55b86e558dc628 [diff] |
Make sure the icon database is created in the UI thread. The monkey can launch the activity before the icon database has been created. If getInstance() is called in a different thread, a looper will not exist. I thought about forcing WebIconDatabase to use the main looper but that would limit the use of WebIconDatabase to the main thread. Bug: 2524758 Change-Id: Iebc1bb6021b084e643e9b180602f999b0ee30a5d