OSDN Git Service

Fixed potention ANR issue with Bluetooth OPP share.
authorFred <fredc@broadcom.com>
Fri, 28 Sep 2012 22:04:14 +0000 (15:04 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Fri, 9 Nov 2012 21:04:05 +0000 (13:04 -0800)
commite3e1e8d1fe2a75b38ee1dfe5a102685877a22f84
treead296190669b05bd1ed7d0030b65028259a2a059
parent929aa0f501d196b5b5fecc2a05d0bc1096ada464
Fixed potention ANR issue with Bluetooth OPP share.

Updated BluetoothOppLauncherActivity so the call to
BluetoothOppManager.saveSendingFileInfo() runs on a child thread.
saveSendingFileInfo() opens/constructs the content stream, which
can take a long time, depending on the type of content.
It should not run inside the main UI thread of the
BluetoothOppLauncherActivity.

Bug 6802063

Change-Id: Id34b33fe37eb029d6a7592a811bbc9bbcde14ba8
src/com/android/bluetooth/opp/BluetoothOppLauncherActivity.java