diff options
author | Todd Kennedy <toddke@google.com> | 2015-06-19 14:47:45 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2015-06-19 14:47:45 -0700 |
commit | f775c9840f8f9520ab3dc859597cb34624213363 (patch) | |
tree | 49136a74599821b208199365c1ae89b1347480b6 /ui | |
parent | e3960ea97d5ddee80e5237796d577892e42a28cb (diff) | |
download | android_packages_providers_DownloadProvider-f775c9840f8f9520ab3dc859597cb34624213363.tar.gz android_packages_providers_DownloadProvider-f775c9840f8f9520ab3dc859597cb34624213363.tar.bz2 android_packages_providers_DownloadProvider-f775c9840f8f9520ab3dc859597cb34624213363.zip |
Create a handler thread
The onCreate() method [where we initialize the handler] runs on the
main thread. This means the ParcelFileDescriptor also runs tasks
involving disk access on the main thread. We need to create a
separate thread to run the Content Provider's handler.
Bug: 19718299
Change-Id: Ia3661fafd3442ad6260f04253ba24ddf83b176b2
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions