OSDN Git Service
Matthew Xie [Thu, 26 Sep 2013 23:15:53 +0000 (23:15 +0000)]
Merge "AtPhonebook handleCpbsCommand was incorrectly sending two responses to some requests (one inside the swtich statement, then repeating it after breaking out of the switch statement). This broke phonebook sync with Audi 2G MMI car kit. Signed-off-by: Nigel Hannam <nigel@hannam.eu>"
The Android Open Source Project [Wed, 12 Jun 2013 14:23:39 +0000 (07:23 -0700)]
Reconcile with jb-mr2-release - do not merge
Change-Id: Ie1d9fd280ad0b593e75ce17c11e45d34cf6df4ab
Zhihai Xu [Sat, 8 Jun 2013 01:12:21 +0000 (18:12 -0700)]
ignore invlaid play position update from remote control client.
differentiate between applications that use
the new RemoteControlClient APIs to pass a playback position but
don't have one yet, and applications that use the legacy API and
will never pass a position.
bug:
9294855
Change-Id: I015b9ded72497464352a9fbb6a605cedfffad373
Zhihai Xu [Tue, 11 Jun 2013 19:39:49 +0000 (19:39 +0000)]
Merge "ignore invlaid play position update from remote control client." into jb-mr2-dev
Zhihai Xu [Sat, 8 Jun 2013 01:12:21 +0000 (18:12 -0700)]
ignore invlaid play position update from remote control client.
differentiate between applications that use
the new RemoteControlClient APIs to pass a playback position but
don't have one yet, and applications that use the legacy API and
will never pass a position.
bug:
9294855
Change-Id: I015b9ded72497464352a9fbb6a605cedfffad373
Matthew Xie [Thu, 30 May 2013 19:14:37 +0000 (12:14 -0700)]
Notify adapter state change from off to on when disable fails
So that the settings app would not stuck at turning-off state
User can retry turning off.
bug
9164641
Change-Id: I6ae6d80c97673b4e548b7b5ab47c51f968342060
Matthew Xie [Fri, 24 May 2013 20:01:21 +0000 (13:01 -0700)]
Fix rssi handling as one of property change event
The rssi is encoded in one byte as int8_t in the stack.
JNI code copied in high byte without proper masking.
The converting is not needed. I am removing the uncessary converting.
bug
9110215
Change-Id: I50628b3a3c0bcf4a33775c6b62e9febd35bdc78d
Zhihai Xu [Tue, 21 May 2013 23:07:22 +0000 (16:07 -0700)]
Bluetooth Share has stopped / Secondary user setup / NullPointerException
issue
9066070
Change-Id: Ie206eab374c6a8c255f1a6302249f81ac16fc333
YK Jeffrey Chao [Wed, 24 Apr 2013 18:55:23 +0000 (11:55 -0700)]
Preload timeout and retry mechanism (2/3)
If the Preload process was stuck due to unknown hardware init failure,
a 8-second ENABLE_TIMEOUT timeout would be eventually expired in Java layer
at AdapterState and attempted to set BT state back to STATE_OFF.
However BluetoothManagerService did not handle this case accordingly and led
to state mis-matching between Java layer and BTIF at the end.
Add the processing logic in AdapterState to handle the case when an explicit
STATE_OFF notification from BTIF was received in the TurningOn Pending state.
bug
7566317
Change-Id: I29c379cd453d05297ed382a5e8f862fa7d0f8881
Zhihai Xu [Sat, 4 May 2013 03:49:22 +0000 (20:49 -0700)]
avoid null pointer in handlePanDeviceStateChange of PanService
see the following null pointer exception
04-30 15:15:21.689 10890 10890 E AndroidRuntime: Caused by: java.lang.NullPointerException
04-30 15:15:21.689 10890 10890 E AndroidRuntime: at com.android.bluetooth.pan.PanService.handlePanDeviceStateChange(PanService.java:457)
which cause crash when disable BT
If the stop is called before the cleanup in PanService, Nullpointer may happen.
issue
8769031
Change-Id: Ia3fb1625c945c508771a697234e6ee18a120d72b
Zhihai Xu [Fri, 26 Apr 2013 01:31:50 +0000 (01:31 +0000)]
Merge "Null pointer exception in SocketAcceptThread of BluetoothPbapService." into jb-mr2-dev
Zhihai Xu [Tue, 23 Apr 2013 03:43:02 +0000 (20:43 -0700)]
Null pointer exception in SocketAcceptThread of BluetoothPbapService.
issue
7650255
Change-Id: Ied5c4ba2b34ffef9edaaa1ad7d8b4a9a0e73ef90
Matthew Xie [Thu, 25 Apr 2013 01:41:55 +0000 (01:41 +0000)]
Merge "Enforcing bluetooth permissions for GATT api calls" into jb-mr2-dev
Matthew Xie [Thu, 25 Apr 2013 00:50:24 +0000 (17:50 -0700)]
Enforcing bluetooth permissions for GATT api calls
bug
8667898
Change-Id: I2100d402f6496271bf97fed03684bedd8d231da4
Priti Aghera [Fri, 5 Apr 2013 01:05:09 +0000 (18:05 -0700)]
HDP Single SDP fix
Modified the stack logic to create single
SDP record for all register call.
bug
8656462
Change-Id: If06193aecbe7555e6b1402275ee243fcd672c812
Zhihai Xu [Tue, 23 Apr 2013 20:53:55 +0000 (13:53 -0700)]
enable playback position sync for AVRCP remoteControlDisplay in audio manager
issue
8698103
Change-Id: I3572b519c4181b21629c812ba91e46d977ec33fe
Priti Aghera [Mon, 15 Apr 2013 21:16:04 +0000 (14:16 -0700)]
Fixed a NPE
Bluetooth share was crashing due to NPE. Included a check for
Inputstream in BluetoothOppSendFileInfo.
bug #
7924487
Change-Id: Iccceb607a46962f84538e912d62f407ad5ee2f21
Andre Eisenbach [Wed, 10 Apr 2013 18:21:26 +0000 (11:21 -0700)]
LE (3/3): Add application ID to connection callback
Bug:
8589393
Change-Id: Iff14aa568bac4d62920bc35ec1545384e200b53a
Zhihai Xu [Fri, 12 Apr 2013 01:14:53 +0000 (18:14 -0700)]
Resolve AVRCP IOP issues
This patch has the following fixes
1. Track number should be 0xFFFFFFFF when no track is currently selected
2. When no track is currently selected set play state as stopped
3. Track number sent in the correct byte order
issue
8586495
Change-Id: I2be583d1e87a39015dff605c7442ca658a10b2e2
Ying Wang [Wed, 10 Apr 2013 05:20:44 +0000 (05:20 +0000)]
Merge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:02:05 +0000 (22:02 -0700)]
Add liblog
Bug:
8580410
Change-Id: I06b82e2424d63361364c223b1dd5b6006abe7ca8
Zhihai Xu [Thu, 4 Apr 2013 02:03:57 +0000 (19:03 -0700)]
support playback position changed notification
issue
8494369
Change-Id: Id468d34badac4c963d4e6df0e7e32bbd0c508938
Andre Eisenbach [Fri, 5 Apr 2013 16:36:46 +0000 (09:36 -0700)]
Add binder DeathRecipient to GATT service
Bluetooth stack connections are now released if a GATT client or server
application closes unexpectedly.
Bug:
8362526
Change-Id: I13b0711f65dcc752f4ed5c5a6e469b6fea41de75
Matthew Xie [Thu, 4 Apr 2013 03:18:00 +0000 (03:18 +0000)]
Merge "Implement getRemoteType of IBluetooth.aidl" into jb-mr2-dev
Jean-Michel Trivi [Wed, 3 Apr 2013 21:12:08 +0000 (21:12 +0000)]
Merge "Update IRemoteControlDisplay implementation to latest interface" into jb-mr2-dev
Matthew Xie [Wed, 3 Apr 2013 07:36:37 +0000 (00:36 -0700)]
Implement getRemoteType of IBluetooth.aidl
Bring the device type from hal to app api
bug
8529188
Change-Id: Id4a9837afc7234cb50ab6abf73da4bdc010db392
Zhihai Xu [Tue, 2 Apr 2013 18:55:12 +0000 (11:55 -0700)]
keep one setPlaybackState function
Change-Id: I4b6f4f17dadd542e890876a8b2fbf3c31badc003
Jean-Michel Trivi [Mon, 1 Apr 2013 18:28:43 +0000 (11:28 -0700)]
Update IRemoteControlDisplay implementation to latest interface
Changed method setTransportControlFlags(int, int)
to method setTransportControlInfo(int, int, int)
Bug
8120740
Change-Id: I35833384102949eb2a20b0f61e13d9d8573adf3e
Zhihai Xu [Sat, 30 Mar 2013 03:11:55 +0000 (20:11 -0700)]
fix compilation error for broadcom branch
Change-Id: I0ed2f039babccf59099c0c7cf0e3ad12392ecff4
Zhihai Xu [Sat, 30 Mar 2013 02:50:03 +0000 (02:50 +0000)]
Revert "Revert "fix the compilation error in broadcom partner branch""
This reverts commit
0e8131db9994d36b7cf9b61bfccb5fb374e09a19
Change-Id: Id91d545d2884022ba8f021cb22d710f4ed421464
Zhihai Xu [Sat, 30 Mar 2013 02:47:00 +0000 (02:47 +0000)]
Revert "fix the compilation error in broadcom partner branch"
This reverts commit
9c55356d9405187302a50aa2f9de8b29976645e5
Change-Id: Ife672e4b012a7745abf9d8ba9701fc46a0008539
Zhihai Xu [Sat, 30 Mar 2013 02:38:46 +0000 (19:38 -0700)]
fix the compilation error in broadcom partner branch
Change-Id: I563742d29570095060c874b1b992cd1c3859dc58
Brian Carlstrom [Fri, 29 Mar 2013 17:15:42 +0000 (10:15 -0700)]
resolved conflicts for merge of
c508483d to jb-mr2-dev
Change-Id: I15a1f2b2391a973645ef14c36bb3ddf71c815bc9
Jean-Michel Trivi [Fri, 29 Mar 2013 16:51:34 +0000 (16:51 +0000)]
Merge "Update RemoteControlDisplay interface for playback position" into jb-mr2-dev
Robert Greenwalt [Mon, 11 Mar 2013 22:46:39 +0000 (15:46 -0700)]
Don't try using netd anymore.
Instead, form a connection with the NetworkStateTracker so
ConnectivityService can treat this like the other networks.
bug:
8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
Zhihai Xu [Tue, 26 Mar 2013 00:45:56 +0000 (17:45 -0700)]
if the element attribute string is more than the maximum length, try to send partial attribute instead of empty attribute string .
issue
8470888
Change-Id: Ibfc3a25839bd07bd99dbb3328f56aad1d21720ea
Jean-Michel Trivi [Fri, 22 Mar 2013 17:51:54 +0000 (10:51 -0700)]
Update RemoteControlDisplay interface for playback position
Update Avrcp class to latest IRemoteControlDisplay interface
that receives playback progress and playback speed.
bug
8120740
Change-Id: I7b30c5a312ab90ee8b1f45ad900efc7c941e133a
Zhihai Xu [Thu, 21 Mar 2013 16:47:25 +0000 (16:47 +0000)]
Merge "framework support for new Bluetooth profiles AVRCP 1.3:Metadata and play status" into jb-mr2-dev
Zhihai Xu [Thu, 14 Mar 2013 18:51:06 +0000 (11:51 -0700)]
framework support for new Bluetooth profiles AVRCP 1.3:Metadata and play status
send track changed response if the metadata is changed.
issue
8383522
Change-Id: Ie55ed368d355484a6b83f4aa24c70aa33b72f799
Sungmin Choi [Fri, 30 Nov 2012 06:59:30 +0000 (15:59 +0900)]
enable xlsx, docx, pptx format to transfer/receive over bluetooth
Add proper MIME types for xlsx, docx, pptx.
Bug:
7479989
Change-Id: I77b065f7856fa399c5084ffa96deace0e3f15487
Mike Lockwood [Thu, 14 Mar 2013 22:58:50 +0000 (15:58 -0700)]
Fix logging in GATT JNI code
Change-Id: I80057b4e4b1572daf745f53c3c47de21ac824076
Brian Carlstrom [Tue, 12 Mar 2013 06:47:55 +0000 (23:47 -0700)]
resolved conflicts for merge of
c508483d to jb-mr2-dev
Change-Id: I7f32e6dd98c3cc61030cded700587aa852c0fc0a
Brian Carlstrom [Tue, 12 Mar 2013 04:51:25 +0000 (04:51 +0000)]
Merge "Cleanup Bluetooth AdapterService JNI"
Brian Carlstrom [Tue, 12 Mar 2013 01:12:08 +0000 (18:12 -0700)]
Cleanup Bluetooth AdapterService JNI
I was here to force the version to be initialized as required in the call to AttachCurrentThread.
Probably JNI_ABORT should be used in ReleaseByteArrayElements to avoid copy back, but 0 is semantically what was passed before.
Change-Id: I812b0785011385b033e67012faa08d113418f01e
Nigel Hannam [Thu, 7 Mar 2013 00:01:41 +0000 (00:01 +0000)]
AtPhonebook handleCpbsCommand was incorrectly sending two responses
to some requests (one inside the swtich statement, then repeating it
after breaking out of the switch statement).
This broke phonebook sync with Audi 2G MMI car kit.
Signed-off-by: Nigel Hannam <nigel@hannam.eu>
Change-Id: I65e54400aad2413725469951899d041870691369
Ganesh Ganapathi Batta [Tue, 5 Feb 2013 23:38:27 +0000 (15:38 -0800)]
Initial version of BLE support for Bluedroid
Change-Id: I9579b3074bc4bc59dd45f71c0937e8879196555e
Martijn Coenen [Thu, 21 Feb 2013 18:45:54 +0000 (10:45 -0800)]
Add OBEX object count support to Bluetooth.
To support Android Beam receiving information about
the number of files in a OPP transfer, add the Count
OBEX header. Also add a new intent to tell the handover
requested that a transfer has started, including the
count (if any).
Change-Id: Ib5e0e8dbc6c2e3259e0f732a507557c3688e168c
Matthew Xie [Thu, 14 Feb 2013 22:41:43 +0000 (14:41 -0800)]
Turn on some debug message in Adapter service
We had turned off too much debug messages. It is getting hard to
make out useful information from bugreports. Now, selectively turn
on some messages.
Change-Id: Ia62bc9d5967a10690709abaa0e20a15dd01c258d
Matthew Xie [Thu, 14 Feb 2013 20:21:42 +0000 (20:21 +0000)]
Merge "turn off getState debug message, not so useful now"
Matthew Xie [Thu, 14 Feb 2013 20:19:35 +0000 (12:19 -0800)]
turn off getState debug message, not so useful now
Change-Id: I258cb35f3166ac8a6a4c4ee7965db527cf17c2e2
Baligh Uddin [Wed, 30 Jan 2013 16:19:05 +0000 (08:19 -0800)]
Import translations. DO NOT MERGE
Change-Id: I0f0cec686b588b4a7bd0890bdc81297c9e0506ff
Auto-generated-cl: translation import
Wink Saville [Mon, 28 Jan 2013 19:29:51 +0000 (11:29 -0800)]
Add protected log methods to StateMachine
This allow child classes to Override the logging and
have consistent behavior across StateMachines.
Change-Id: I7e23a44d08ca304ade2d7830fd0e307f63f1879e
Matthew Xie [Tue, 15 Jan 2013 01:10:38 +0000 (17:10 -0800)]
Use getRadioTechnology call instead of getRilVoiceRadioTechnology
getRilVoiceRadioTechnology had obsoleted getRadioTechnology
We are using the obsolete method to get bluetooth master compile
with aosp build for Broadcom branch.
Change-Id: Ica4258f99be82a2b0e04f74eac0bc5ee95f0a914
Adam Powell [Thu, 10 Jan 2013 23:39:13 +0000 (15:39 -0800)]
am
43f8ccf6: am
6eb3b8d3: Merge "Upgrade the app to better follow holo guidelines"
* commit '
43f8ccf63a02b28be395fd223461f1421ea2aa99':
Upgrade the app to better follow holo guidelines
Adam Powell [Wed, 9 Jan 2013 20:03:36 +0000 (12:03 -0800)]
am
6eb3b8d3: Merge "Upgrade the app to better follow holo guidelines"
* commit '
6eb3b8d3b7ffc1d80ae7734042e2c4d36a77a19f':
Upgrade the app to better follow holo guidelines
Adam Powell [Wed, 9 Jan 2013 19:51:02 +0000 (11:51 -0800)]
Merge "Upgrade the app to better follow holo guidelines"
Baligh Uddin [Wed, 2 Jan 2013 18:36:57 +0000 (10:36 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4ae6a84f16401f7b8f18414b1936cd6f1b2d8bb7
Auto-generated-cl: translation import
Zhihai Xu [Wed, 19 Dec 2012 23:22:18 +0000 (15:22 -0800)]
Merge "Bluetooth OPP should sanitize Uri data and MIME types before calling startActivity"
Baligh Uddin [Thu, 6 Dec 2012 16:10:01 +0000 (08:10 -0800)]
Import translations. DO NOT MERGE
Change-Id: I840504c614699e56c7755b4d26d47e8362c640ed
Auto-generated-cl: translation import
Matthew Xie [Mon, 3 Dec 2012 19:30:48 +0000 (11:30 -0800)]
am
67b17615: am
fa5a6aff: Merge "Clean up debug messages" into jb-mr1.1-dev
* commit '
67b1761534d7e2518830cfb3d2c28271ffe56a26':
Clean up debug messages
Matthew Xie [Mon, 3 Dec 2012 19:29:16 +0000 (11:29 -0800)]
am
fa5a6aff: Merge "Clean up debug messages" into jb-mr1.1-dev
* commit '
fa5a6affffb0efe6c41ea44499b0e9b619bee161':
Clean up debug messages
Matthew Xie [Mon, 3 Dec 2012 19:24:49 +0000 (11:24 -0800)]
Merge "Clean up debug messages" into jb-mr1.1-dev
Zhihai Xu [Sat, 1 Dec 2012 00:35:23 +0000 (16:35 -0800)]
am
3d34fdb1: am
28cc9881: need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
* commit '
3d34fdb17090e476a5ccd6d7bb57d61d9f528eff':
need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
Zhihai Xu [Sat, 1 Dec 2012 00:33:40 +0000 (16:33 -0800)]
am
28cc9881: need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
* commit '
28cc9881bb7fb2e5e410006f4f303c494b97665e':
need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
Zhihai Xu [Sat, 1 Dec 2012 00:07:10 +0000 (16:07 -0800)]
need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
bug
7564004
Change-Id: I5fc1eed1c0db194c3fdd63799b2340eea994988d
Matthew Xie [Fri, 30 Nov 2012 04:25:02 +0000 (20:25 -0800)]
Clean up debug messages
bug
7626174
Change-Id: I0161d54dd325a7a1afcf8926ef54cd483e7503fb
Zhihai Xu [Wed, 28 Nov 2012 01:34:29 +0000 (17:34 -0800)]
am
78622268: am
e2039454: Merge "Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing" into jb-mr1.1-dev
* commit '
786222689749046824ba206ab32f8ac9794c998b':
Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing
Zhihai Xu [Tue, 27 Nov 2012 20:09:19 +0000 (12:09 -0800)]
am
e2039454: Merge "Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing" into jb-mr1.1-dev
* commit '
e203945454e23b2fd31ad278f7d374e1e1ccf2db':
Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing
Zhihai Xu [Tue, 27 Nov 2012 20:05:16 +0000 (12:05 -0800)]
Merge "Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing" into jb-mr1.1-dev
Zhihai Xu [Sun, 18 Nov 2012 10:05:46 +0000 (02:05 -0800)]
Code to broadcast VENDOR_SPECIFIC_HEADSET_EVENT missing
add +XEVENT vendor specific command handler in processUnknownAt
bug
7564004
Change-Id: I78847553700b2da28dbf9ca8f9d0509f5f3fa924
Wink Saville [Fri, 16 Nov 2012 16:14:53 +0000 (08:14 -0800)]
Rename get radio technology
Change-Id: I83f2b0eda8c6ccdff1b7253164e2531ca1357e72
Wink Saville [Thu, 15 Nov 2012 23:22:18 +0000 (15:22 -0800)]
Merge "Revert "Rename get radio technology""
Wink Saville [Thu, 15 Nov 2012 23:16:40 +0000 (15:16 -0800)]
Revert "Rename get radio technology"
This reverts commit
d38211fe71e9e738290c6b84ef70188b8ac55071
Change-Id: I8e8cda5ce923ccec6827e9b5609d82c765b15ae2
Wink Saville [Thu, 15 Nov 2012 22:27:59 +0000 (14:27 -0800)]
Merge "Rename get radio technology"
blunden [Tue, 18 Sep 2012 22:57:46 +0000 (00:57 +0200)]
Upgrade the app to better follow holo guidelines
- Fix the icon scaling in the transfer list
The icon is centered and upscaled instead of just centered.
- Remove dialog info icon according to UI team recommendation
- Replace icons with holo versions and add xhdpi
Change-Id: Id3b06e8e06244ec8859d65404d779b66c1354e3d
Zhihai Xu [Tue, 13 Nov 2012 00:38:56 +0000 (16:38 -0800)]
am
a6853edb: am
4daa2db1: Merge "need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users" into jb-mr1.1-dev
* commit '
a6853edb4504e95dcd07e0ffc306ef07dc759b56':
need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
Fred [Tue, 13 Nov 2012 00:38:55 +0000 (16:38 -0800)]
am
641b4e22: am
cb7b1a54: Fixed potention ANR issue with Bluetooth OPP share.
* commit '
641b4e22af7aa0e3b426eaad395f7887c10a9546':
Fixed potention ANR issue with Bluetooth OPP share.
Fred [Tue, 13 Nov 2012 00:38:55 +0000 (16:38 -0800)]
am
e3e1e8d1: Fixed potention ANR issue with Bluetooth OPP share.
* commit '
e3e1e8d1fe2a75b38ee1dfe5a102685877a22f84':
Fixed potention ANR issue with Bluetooth OPP share.
Zhihai Xu [Tue, 13 Nov 2012 00:36:47 +0000 (16:36 -0800)]
am
4daa2db1: Merge "need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users" into jb-mr1.1-dev
* commit '
4daa2db107f17fa8e8dfe35003924c69566bccb6':
need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
Fred [Tue, 13 Nov 2012 00:36:47 +0000 (16:36 -0800)]
am
cb7b1a54: Fixed potention ANR issue with Bluetooth OPP share.
* commit '
cb7b1a54ae3ce309210824099253a916a04d350b':
Fixed potention ANR issue with Bluetooth OPP share.
Zhihai Xu [Tue, 13 Nov 2012 00:32:11 +0000 (16:32 -0800)]
Merge "need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users" into jb-mr1.1-dev
Zhihai Xu [Mon, 12 Nov 2012 23:28:58 +0000 (15:28 -0800)]
need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
We need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
because bluetooth manager service use this intent to change name.
Bluetooth manager service is always running as User 0. but it is always binding
to bluetooth service running at foreground user, So the bluetooth service
need send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED broadcast intent
to all users to let bluetooth manager service to receive it at any cases.
bug
7476965
Change-Id: I816786d0828d4a7d414077b1ccbe12d2e273fc75
Fred [Fri, 28 Sep 2012 22:04:14 +0000 (15:04 -0700)]
Fixed potention ANR issue with Bluetooth OPP share.
Updated BluetoothOppLauncherActivity so the call to
BluetoothOppManager.saveSendingFileInfo() runs on a child thread.
saveSendingFileInfo() opens/constructs the content stream, which
can take a long time, depending on the type of content.
It should not run inside the main UI thread of the
BluetoothOppLauncherActivity.
Bug
6802063
Change-Id: Id34b33fe37eb029d6a7592a811bbc9bbcde14ba8
Fred [Fri, 28 Sep 2012 22:04:14 +0000 (15:04 -0700)]
Fixed potention ANR issue with Bluetooth OPP share.
Updated BluetoothOppLauncherActivity so the call to
BluetoothOppManager.saveSendingFileInfo() runs on a child thread.
saveSendingFileInfo() opens/constructs the content stream, which
can take a long time, depending on the type of content.
It should not run inside the main UI thread of the
BluetoothOppLauncherActivity.
Bug
6802063
Change-Id: Id34b33fe37eb029d6a7592a811bbc9bbcde14ba8
Wink Saville [Fri, 2 Nov 2012 19:41:11 +0000 (12:41 -0700)]
Rename get radio technology
Change-Id: I267f54c5533f815d14c8f7a2f81545c8e08b773c
Baligh Uddin [Fri, 2 Nov 2012 05:37:15 +0000 (22:37 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0fb25c32cec8d8a26691c05946999890d8115a5d
Auto-generated-cl: translation import
Martijn Coenen [Wed, 31 Oct 2012 00:47:19 +0000 (17:47 -0700)]
am
929aa0f5: am
19d8d544: Temporarily add GALLERY_PROVIDER permission to fix Beam.
* commit '
929aa0f501d196b5b5fecc2a05d0bc1096ada464':
Temporarily add GALLERY_PROVIDER permission to fix Beam.
Martijn Coenen [Wed, 31 Oct 2012 00:44:49 +0000 (17:44 -0700)]
am
19d8d544: Temporarily add GALLERY_PROVIDER permission to fix Beam.
* commit '
19d8d5447897a7f8f4ee1ac2745639e4c8c1ff8b':
Temporarily add GALLERY_PROVIDER permission to fix Beam.
Martijn Coenen [Tue, 30 Oct 2012 22:15:05 +0000 (15:15 -0700)]
Temporarily add GALLERY_PROVIDER permission to fix Beam.
Photo transfers incoming through Android Beam switch processes
twice (Gallery->NFC, NFC->Bluetooth), and the permission to
access to the Gallery content provider is not transferred.
As a short term solution, grant Gallery provider
permissions to Bluetooth.
Bug:
7433498
Change-Id: Id5915f4a37bec5003a42646162249a0c2c69aa48
Zhihai Xu [Wed, 24 Oct 2012 17:53:52 +0000 (10:53 -0700)]
am
8b709b4c: am
ede67c26: License of files Bluetooth package is not updated to ASL2
* commit '
8b709b4caac6e0cdb35a117fa3a523d0200a203f':
License of files Bluetooth package is not updated to ASL2
Zhihai Xu [Wed, 24 Oct 2012 17:50:11 +0000 (10:50 -0700)]
am
ede67c26: License of files Bluetooth package is not updated to ASL2
* commit '
ede67c26e7b2564ea35db6d9b3027a269c150e13':
License of files Bluetooth package is not updated to ASL2
Zhihai Xu [Wed, 24 Oct 2012 00:01:01 +0000 (17:01 -0700)]
License of files Bluetooth package is not updated to ASL2
bug
7385618
Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
Zhihai Xu [Wed, 17 Oct 2012 20:20:58 +0000 (13:20 -0700)]
am
b1f690e1: 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 blue
* commit '
b1f690e19d77b67630004517c5342f89b578f204':
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 [Wed, 17 Oct 2012 20:18:13 +0000 (13:18 -0700)]
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 '
bd704c741b8c523ad747214f6f0520ac3e2caf8f':
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 [Wed, 17 Oct 2012 17:01:03 +0000 (10:01 -0700)]
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
bug
7333382
Change-Id: I57f39a722e78d6d2453ebfecaab043637fef4d9c
Jake Hamby [Tue, 16 Oct 2012 20:53:40 +0000 (13:53 -0700)]
am
f128aa02: am
a595fcc5: Fix crash in Bluetooth when sharing MMS video.
* commit '
f128aa0298dcaf07cf0bec0717943dd1f97b1eb6':
Fix crash in Bluetooth when sharing MMS video.
Jake Hamby [Tue, 16 Oct 2012 20:50:52 +0000 (13:50 -0700)]
am
a595fcc5: Fix crash in Bluetooth when sharing MMS video.
* commit '
a595fcc57e7f0be9cf57913cd665dc99e4001b16':
Fix crash in Bluetooth when sharing MMS video.
Jake Hamby [Tue, 16 Oct 2012 01:47:09 +0000 (18:47 -0700)]
Fix crash in Bluetooth when sharing MMS video.
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
Adam Powell [Fri, 12 Oct 2012 19:10:02 +0000 (12:10 -0700)]
am
83f334c0: am
d329befd: Merge "Bluetooth: Use proper holo alert drawable"
* commit '
83f334c0f748a5ee8b68d85fd0133c73e5d6bf28':
Bluetooth: Use proper holo alert drawable
Adam Powell [Fri, 12 Oct 2012 19:08:14 +0000 (12:08 -0700)]
am
d329befd: Merge "Bluetooth: Use proper holo alert drawable"
* commit '
d329befdd38a5c441e1a2b7e4595b7de86ac100b':
Bluetooth: Use proper holo alert drawable