OSDN Git Service

Fix NPE crash while removeBatch
authorjun.x.wang <jun.x.wang@sonymobile.com>
Thu, 14 Aug 2014 05:36:59 +0000 (13:36 +0800)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 18 Feb 2016 18:55:57 +0000 (10:55 -0800)
commit0787917a687e31cbd1a9d8af5eca6b684a3ef894
treef6c8dcdc1a9c45a86d54ebe7b184a055dea449ce
parente1ad2a10ea9d1fbf41441a535192ff7a7379bda2
Fix NPE crash while removeBatch

When unpairing two devices, the BluetoothOppShareInfo
in BluetoothOppBatch may be null during transfer.

Change-Id: I7b4fbd0f291250deebdeaea4bf2d2f540fe233dc
src/com/android/bluetooth/opp/BluetoothOppService.java