OSDN Git Service

BT API security audit: fix a couple of permission mistakes.
authorNick Pelly <npelly@google.com>
Thu, 8 Oct 2009 21:27:28 +0000 (23:27 +0200)
committerNick Pelly <npelly@google.com>
Thu, 8 Oct 2009 23:35:10 +0000 (01:35 +0200)
commite6ee3be1c254404dad842298f6f56c11cc6c7ac8
treef753364cb9bcbebf3448d078b4da8ac40f295b6e
parent846322a9ae5ef8155cca0059d3f64d718516ca13
BT API security audit: fix a couple of permission mistakes.

Make functions that are meant to be BLUETOOTH_ADMIN really
BLUETOOTH_ADMIN.

Add some missing javadoc for permissions.

The only functional change here is the BLUETOOTH->BLUETOOTH_ADMIN
changes. This is super safe because every system app that uses BT
has both permissions.

Change-Id: Iddc61f9fd5d81fe0171358665a0fa52f2fa02871
DrNo: eastham
Joke: How do you catch a rabbit? Hide behind a tree and make carrott noises.
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothDevice.java
core/java/android/server/BluetoothService.java