diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2009-09-08 21:37:32 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2009-09-08 21:51:07 -0700 |
commit | 9519ce75f15ba287a641166c1b7ed10f2aa73f74 (patch) | |
tree | 8bbd8d89419245c972695cd54bda1aeac898905d /core/java/android/server/BluetoothService.java | |
parent | 19d6f7ac27448b59c936878756bad49f623a6a99 (diff) | |
download | frameworks_base-9519ce75f15ba287a641166c1b7ed10f2aa73f74.zip frameworks_base-9519ce75f15ba287a641166c1b7ed10f2aa73f74.tar.gz frameworks_base-9519ce75f15ba287a641166c1b7ed10f2aa73f74.tar.bz2 |
Query for all properties if a property change is received and cache is empty.
Diffstat (limited to 'core/java/android/server/BluetoothService.java')
-rw-r--r-- | core/java/android/server/BluetoothService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/server/BluetoothService.java b/core/java/android/server/BluetoothService.java index b168850..5fe0d4e 100644 --- a/core/java/android/server/BluetoothService.java +++ b/core/java/android/server/BluetoothService.java @@ -538,6 +538,10 @@ public class BluetoothService extends IBluetooth.Stub { } } + /*package*/ synchronized boolean isAdapterPropertiesEmpty() { + return mAdapterProperties.isEmpty(); + } + /*package*/synchronized void getAllProperties() { mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission"); mAdapterProperties.clear(); |