OSDN Git Service

BluetoothManagerService: catch NoSuchElementException for unlinkToDeath
authorChienyuan <chienyuanhuang@google.com>
Mon, 17 Dec 2018 13:31:40 +0000 (21:31 +0800)
committerChienyuan <chienyuanhuang@google.com>
Mon, 17 Dec 2018 13:31:40 +0000 (21:31 +0800)
commit2ea2b1682424600f5c9bdc9d57e1110ccea753a0
treeac3826fc41b902da28b3310a001badbef08f2674
parent6eaf48ea5720a901249dddd390b78e6a1efe14aa
BluetoothManagerService: catch NoSuchElementException for unlinkToDeath

linkToDeath fail will cause NoSuchElementException when following
unlinkToDeath, add try catch to handle it.

Bug: 121104808
Test: build pass
Change-Id: I2f3337ad417567ea3b4dea3eb004c60f96527c41
services/core/java/com/android/server/BluetoothManagerService.java