- 17 Oct, 2012 2 commits
-
-
Zhihai Xu authored
am bd704c74: BT connection notification in not updated in status bar for second user It is due to the system UI is always running as the first user. It can\'t receive broadcast intent ACTION_CONNECTION_STATE_CHANGED and ACTION_BOND_STATE_CHANGED from bluetooth service * commit 'bd704c74': BT connection notification in not updated in status bar for second user It is due to the system UI is always running as the first user. It can't receive broadcast intent ACTION_CONNECTION_STATE_CHANGED and ACTION_BOND_STATE_CHANGED from bluetooth service when We switch to second user. Also the system UI also is running as uid 10055, which will also call function isEnabled, getState, getBondedDevices, getAdapterConnectionState and getBondState in bluetooth service. I allow these functions to be called by all the users. I forget remove check for getBondState in my first patch set
-
Zhihai Xu authored
It is due to the system UI is always running as the first user. It can't receive broadcast intent ACTION_CONNECTION_STATE_CHANGED and ACTION_BOND_STATE_CHANGED from bluetooth service when We switch to second user. Also the system UI also is running as uid 10055, which will also call function isEnabled, getState, getBondedDevices, getAdapterConnectionState and getBondState in bluetooth service. I allow these functions to be called by all the users. I forget remove check for getBondState in my first patch set bug 7333382 Change-Id: I57f39a722e78d6d2453ebfecaab043637fef4d9c
-
- 16 Oct, 2012 2 commits
-
-
Jake Hamby authored
* commit 'a595fcc5': Fix crash in Bluetooth when sharing MMS video.
-
Jake Hamby authored
Some content providers, such as MMS, don't support the DISPLAY_NAME or SIZE columns for content URIs. Fall back to using the last segment of the URI as the filename for Bluetooth file transfers if the query for DISPLAY_NAME fails. Bug: 7343310 Change-Id: Ie048c5eea3ba9994259c9e07beabd72622d6b669
-
- 12 Oct, 2012 2 commits
-
-
Adam Powell authored
* commit 'd329befd': Bluetooth: Use proper holo alert drawable
-
Adam Powell authored
-
- 10 Oct, 2012 3 commits
-
-
Matthew Xie authored
Add = sign before off bug 7326510 Change-Id: Ief269f608646acaa2872679a5c649da3cf22de37
-
Matthew Xie authored
-
Zhihai Xu authored
Merge "Bluetooth multi-user updates: change bluetooth service to reject background user access." into jb-mr1-dev
-
- 09 Oct, 2012 2 commits
-
-
Zhihai Xu authored
to reject background user access. bug 6925422 Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
-
Matthew Xie authored
bug 7070862 Change-Id: I7de38269e3ea451b44d9a9afd0477dedc6978987
-
- 08 Oct, 2012 1 commit
-
-
Matthew Xie authored
bug 7174712 Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
-
- 05 Oct, 2012 1 commit
-
-
Matthew Xie authored
Add bt_net_stack permission bug 6925422 Change-Id: I5765a9cc770f7c48eb88bff4757b276f0cad4709
-
- 04 Oct, 2012 1 commit
-
-
zzy authored
Root cause: Integer.parseInt(indices[0]) throw exception if char ';' at the end. Bug 7274805
-
- 02 Oct, 2012 1 commit
-
-
Matthew Xie authored
Socket initialization need the preparation from stack and a domain socket connection. All this takes time and not proper to be run in the main thread. bug 7258324 Change-Id: Ic46601602556c2949f18d446016188d874099874
-
- 01 Oct, 2012 1 commit
-
-
Jeff Sharkey authored
Bug: 7231171 Change-Id: I39e3611dcec1104558704ed72855fef85f33c084
-
- 26 Sep, 2012 1 commit
-
-
Matthew Xie authored
Enforce MODIFY_PHONE_STATE permission for some HeadsetService APIs that only provided for Phone app for phone stat change notifications bug 7115021 Change-Id: I62e3f429f4205feb50e123ee94b4c468999804a6
-
- 19 Sep, 2012 2 commits
-
-
zzy authored
This seemed like to be the root casue of bug 7136940. The thread 3564 stuck after following log: 09-10 11:24:08.882 3564 V BluetoothPbapService: Pbap Service closeService bug 7136940
-
John Huang authored
-
- 18 Sep, 2012 1 commit
-
-
Jean-Baptiste Queru authored
This reverts commit 7e2c121e.
-
- 16 Sep, 2012 1 commit
-
-
Wink Saville authored
-
- 15 Sep, 2012 2 commits
-
-
Jean-Baptiste Queru authored
Change-Id: I45608fe5089492b20d09abeda624b8d32c5343e7
-
Wink Saville authored
StateMachines must be started before any messages are sent to them otherwise an exception is thrown. Bug: 7091976 Change-Id: I05315d45d4d6db42843442b7feb37c665cfabcab
-
- 14 Sep, 2012 2 commits
-
-
Jake Hamby authored
Change BT OPP to open the InputStreams of files to share in the BluetoothOppLauncherActivity (or BluetoothOppHandoverReceiver for NFC shares), while the process has grantUriPermission() on the URI's to share. InputStreams are saved inside the existing BluetoothOppSendFileInfo objects, which no longer include the mDestination field because this isn't known at the time the SendFileInfo object is now created (before the user has chosen the destination BT device). These objects are stored in a static ConcurrentHashMap in BluetoothOppUtility and are removed when the file is closed (on success or failure). If the user tries to share thousands of files in one batch, we may not be able to open InputStreams for all of the files in the batch. In this case, the open should fail gracefully. Bug: 6808783 Change-Id: I3f3f86d2dc1a78a837aeb6a888f90b26434ba499
-
Matthew Xie authored
Certain carkit abort pbap transfer if vcard includes photo bug 7070862 Change-Id: Iacd7e20901a7450599e844d1fb34923108e81bdc
-
- 11 Sep, 2012 3 commits
-
-
zzy authored
root cause: cleanup stack process overlapped with bt turning on process sometime. The cleanup() call in adapterservice.java need to be call from onUnbind() to synchronize the BluetoothSererviceManager unbindandFinish() call. bug 7083069 Change-Id: Ib4c64d7e5fc996277278471969f187bb5e915a76
-
Björn Lundén authored
Make it use the holo drawables instead of the GB compability drawable. Change-Id: Ib85d89f0f3a6248d357a612afa8c0158a0876b86
-
Kausik Sinnaswamy authored
PBAP service runs in a loop of 10 trials to create the RFCOMM listener thread; this loop is not getting interrupted during BT off, due to which we end up delaying PBAP stop by 3 seconds (10 * 300ms). The fix is to check for BT state after RFCOMM listener failure and break out of the loop if BT is being turned off. bug 7134544 Change-Id: I81d2a559857eef9138ebca662ea28f1d3e358bb8
-
- 10 Sep, 2012 3 commits
-
-
Matthew Xie authored
This reverts commit f5d88a7b Change-Id: I67a4950831dce7392d63edad6f693abcc69d2ffe
-
Kausik Sinnaswamy authored
PBAP service runs in a loop of 10 trials to create the RFCOMM listener thread; this loop is not getting interrupted during BT off, due to which we end up delaying PBAP stop by 3 seconds (10 * 300ms). The fix is to check for BT state after RFCOMM listener failure and break out of the loop if BT is being turned off. bug 7134544 Change-Id: I35db2221be30980bec973253cdd888e0ce8cc36b
-
zzy authored
-
- 29 Aug, 2012 1 commit
-
-
Ravi Nagarajan authored
At a given point only one device should be set to have PRIORITY_AUTO_CONNECT per profile. When setting a device priority adjust the other devices' priority to make sure auto-connect is attempted with only one device bug 7076087 Change-Id: I1e03945a06e7acc901b53f34429194b3c3e76cd7
-
- 23 Aug, 2012 1 commit
-
-
Syed Ibrahim M authored
Delete the local reference of jstring objects during every callback for unknown AT command and dial command after JNI calls the Java methods. Bug 7044655 Change-Id: I21792b95fbad37c488ec5a1a30521a5413192751
-
- 20 Aug, 2012 1 commit
-
-
Martijn Coenen authored
-
- 14 Aug, 2012 3 commits
-
-
Ravi Nagarajan authored
Battery and service state changes were relayed to the stack, but not signal strength. This has been resolved. bug 6983415 Change-Id: Ie6fbb108805348e39c9119d028afb834556ae6b0
-
Ganesh Ganapathi Batta authored
Implementation of BT enable in Quiet mode without initiating auto connect and not allowing Incoming HFP, A2DP and HID connections. Change-Id: I857aea8d95677f8287df4641ec0aeae58a9f7a99
-
Ravi Nagarajan authored
Start phone state listener after SLC setup, instead of on Disconnected SM exit(). On BT OFF, quitNow() forces a SM exit() which incorrectly started the phone state listener. Additionally no indicator updates should be sent prior to SLC setup bug 6976119 Change-Id: Icff2bc52602230b098651225bec92d532f3a3ff9
-
- 13 Aug, 2012 1 commit
-
-
Martijn Coenen authored
It seems that the length specified by content providers for images is often not correct. This happens because applications modify the images later on with meta-data, etc., but don't update the length field. This causes Bluetooth OPP transfers to fail, usually with an IndexOutOfBoundException. The root cause (wrong size in content provider) of course needs to be fixed, but we can also make Bluetooth more resilient to these situations. Since OBEX needs to know the transfer length up front, the only other way we have of determining the size of the content is by opening a file descriptor and getting its length. Bug: 6857704 Change-Id: Iaf2304b44e9e81ef6e6ac7e0fe3be84ad31a312f
-
- 10 Aug, 2012 1 commit
-
-
Ravi Nagarajan authored
HAL sends the status to indicate the reason for bonding failure, if any. Add this to bond state change intent, so that the Settings app can display the error dialong, if necessary. bug 6936335 Change-Id: Ide7c9e497bbfc6428b60c7a6de6e01ca538edfb8
-
- 08 Aug, 2012 1 commit
-
-
Matthew Xie authored
-