diff options
author | Zhihai Xu <zhihaixu@google.com> | 2013-10-14 12:16:39 -0700 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2014-03-06 09:35:56 -0800 |
commit | e061a83b8cbd872cd9f0fea33717aa57112e6228 (patch) | |
tree | 4bf92608b363d4aa9753f44b569622d0cc9c97f2 /res | |
parent | 3f298ffe0add6b60e8d6265670928f84ce7d7338 (diff) | |
download | android_packages_apps_Bluetooth-e061a83b8cbd872cd9f0fea33717aa57112e6228.tar.gz android_packages_apps_Bluetooth-e061a83b8cbd872cd9f0fea33717aa57112e6228.tar.bz2 android_packages_apps_Bluetooth-e061a83b8cbd872cd9f0fea33717aa57112e6228.zip |
Device cannot go to sleep while connected to HBM-570 BT headset
The headset never disconnect the Obex connection for PBAP,
so in this case, we never release the wakelock.
Our PBAP implementation won't release wakelock
until the Obex is disconnected by the remote device
To better control the wake lock, we should
only acquire the wakelock when we receive the reqeust from the remote device
will release the wakelock after we send the response packets.
bug:10957699
Change-Id: I85e0609e36788d9c36334dd804ec52c90b90615b
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions