OSDN Git Service
Ajay Panicker [Tue, 24 May 2016 22:16:17 +0000 (22:16 +0000)]
Add guest mode functionality (3/3) am:
e1ca5cccd6 am:
480b762641 am:
b01d679002 am:
0b2a403b82 -s ours am:
6d74162bea
am:
46790a61d3
* commit '
46790a61d3722128f68bbfd2e12656923def72d0':
Add guest mode functionality (3/3)
Change-Id: I956eb988a5f80ff11af426a406251a852eb1a09a
Ajay Panicker [Tue, 24 May 2016 22:16:04 +0000 (22:16 +0000)]
Add guest mode functionality (3/3) am:
e1ca5cccd6 am:
480b762641 am:
b01d679002 am:
0b2a403b82 -s ours
am:
6d74162bea
* commit '
6d74162bea2771991a434e0c463b58c080ee1b26':
Add guest mode functionality (3/3)
Change-Id: I90e7d0a5372f25eeb2a92f8773aa81caa3d1de1f
Ajay Panicker [Tue, 24 May 2016 22:15:53 +0000 (22:15 +0000)]
Add guest mode functionality (3/3) am:
af5b1764da
am:
69689c0098 -s ours
* commit '
69689c0098a7582f8bba393f72b2575ed5508e71':
Add guest mode functionality (3/3)
Change-Id: I0715575a2e7de20356c1b8c0b170eb85eb5e77e3
Ajay Panicker [Tue, 24 May 2016 22:13:11 +0000 (22:13 +0000)]
Add guest mode functionality (3/3) am:
e1ca5cccd6 am:
480b762641 am:
b01d679002
am:
0b2a403b82 -s ours
* commit '
0b2a403b821149b8d0c6ec3ab28db46beff3d75e':
Add guest mode functionality (3/3)
Change-Id: Ic32d37360b9a73b10b27bed3a73d9fdf865db346
Ajay Panicker [Tue, 24 May 2016 22:07:27 +0000 (22:07 +0000)]
Add guest mode functionality (3/3) am:
e1ca5cccd6 am:
480b762641
am:
b01d679002
* commit '
b01d6790028caf2ba951d5c6eeacf7d4f8ecbbd3':
Add guest mode functionality (3/3)
Change-Id: I98de45cdc87a200c4ff32ccfac88d42edac767a5
Ajay Panicker [Tue, 24 May 2016 22:05:26 +0000 (22:05 +0000)]
Add guest mode functionality (3/3) am:
e1ca5cccd6
am:
480b762641
* commit '
480b76264134b6a44aef6948f32b4bd6a62fcd0f':
Add guest mode functionality (3/3)
Change-Id: I512cef0d0c23d4702cf9de61be4bf8f47c164bac
Ajay Panicker [Tue, 24 May 2016 22:02:02 +0000 (22:02 +0000)]
Add guest mode functionality (3/3)
am:
af5b1764da
* commit '
af5b1764daa3b212d471f000d7091ac07c040453':
Add guest mode functionality (3/3)
Change-Id: I2591d37bb52e2bda796200100f7f21bf00f55d7a
Ajay Panicker [Tue, 24 May 2016 22:02:02 +0000 (22:02 +0000)]
Add guest mode functionality (3/3)
am:
e1ca5cccd6
* commit '
e1ca5cccd6c2b37f783aa0ee2d9371108ad5c855':
Add guest mode functionality (3/3)
Change-Id: I9f3c034215aadf5e5ebd77e4a3265c7fbcf21fe3
Ajay Panicker [Fri, 18 Mar 2016 00:12:08 +0000 (17:12 -0700)]
Add guest mode functionality (3/3)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active.
Bug:
27410683
Change-Id: If4a8855faf362d7f6de509d7ddc7197d1ac75cee
Alain Vongsouvanh [Fri, 13 May 2016 20:27:59 +0000 (13:27 -0700)]
DO NOT MERGE ANYWHERE GATT: Move connection parameters to config.xml
This makes it easier for OEMs to customize the high prioriy, balanced
and low power mode connection parameters through overlays.
Bug:
18013697
Change-Id: I8b486b772fdb871f2800238cb5e45c4ff0663952
(cherry-picked from
d65009d591017319a429be1a920fdf763e71cebd)
Lianchao Song [Mon, 9 May 2016 14:50:57 +0000 (22:50 +0800)]
DO NOT MERGE ANYWHERE Add missing null pointer check inside HeadSetClientService.stop()
Bug:
28664857
Change-Id: I62abc4eb4127db2d4f0cde44eca618996f099b49
Signed-off-by: Lianchao Song <songlianchao@huawei.com>
Ajay Panicker [Fri, 18 Mar 2016 00:12:08 +0000 (17:12 -0700)]
Add guest mode functionality (3/3)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active.
Bug:
27410683
Change-Id: If4a8855faf362d7f6de509d7ddc7197d1ac75cee
Ajay Panicker [Tue, 19 Apr 2016 20:41:25 +0000 (20:41 +0000)]
"DO NOT MERGE" Add write SMS protection am:
fd7a794 -s ours am:
daa8d67 am:
5eee2cd am:
48115bb -s ours am:
e2dca1a
am:
63bcffd
* commit '
63bcffd3da5054da678f927e75c60d71cc45df47':
"DO NOT MERGE" Add write SMS protection
Change-Id: Ia5e0c102295f430fc4ec1d4230b70016d8e4c33e
Ajay Panicker [Tue, 19 Apr 2016 20:38:06 +0000 (20:38 +0000)]
"DO NOT MERGE" Add write SMS protection am:
fd7a794 -s ours am:
daa8d67 am:
5eee2cd am:
48115bb -s ours
am:
e2dca1a
* commit '
e2dca1a7cf3fa6b4d1d8c5769f5d0e052726c699':
"DO NOT MERGE" Add write SMS protection
Change-Id: I79c8f9bc90ba6ad16b854d68c74b075188a6caa0
Ajay Panicker [Tue, 19 Apr 2016 20:33:14 +0000 (20:33 +0000)]
"DO NOT MERGE" Add write SMS protection am:
fd7a794 -s ours am:
daa8d67 am:
5eee2cd
am:
48115bb -s ours
* commit '
48115bb85ee7c7692b9c70afaa8b0d6a32c24a95':
"DO NOT MERGE" Add write SMS protection
Change-Id: I39546ac3a880b12ddeb33c383184967e90209349
Seven Shen [Tue, 19 Apr 2016 20:30:39 +0000 (20:30 +0000)]
"DO NOT MERGE" Add write SMS protection am:
64745b1
am:
9accc36
* commit '
9accc36b1a6a9779d31ea6edcc861a69167d37e5':
"DO NOT MERGE" Add write SMS protection
Change-Id: Id5bc27d73ed66c9f12ecf94ec2ef1dc727a6b5c4
Ajay Panicker [Tue, 19 Apr 2016 20:30:02 +0000 (20:30 +0000)]
"DO NOT MERGE" Add write SMS protection am:
fd7a794 -s ours am:
daa8d67
am:
5eee2cd
* commit '
5eee2cd8453f5990d1202d010df01eca724e1010':
"DO NOT MERGE" Add write SMS protection
Change-Id: Id83f27fd2d8b2431cea51c8eb5a4ca152a872647
Ajay Panicker [Tue, 19 Apr 2016 20:26:39 +0000 (20:26 +0000)]
"DO NOT MERGE" Add write SMS protection am:
fd7a794 -s ours
am:
daa8d67
* commit '
daa8d67fe2e26eb9d5282006eb7ec17306b7e277':
"DO NOT MERGE" Add write SMS protection
Change-Id: Ia8f55d6ba4a5d008b107673d8830208c3eefd30a
Seven Shen [Tue, 19 Apr 2016 20:23:31 +0000 (20:23 +0000)]
"DO NOT MERGE" Add write SMS protection
am:
64745b1
* commit '
64745b114948ea0c774f74af5721b6283087247d':
"DO NOT MERGE" Add write SMS protection
Change-Id: Idb905753e4e4d711b11b7d5274e622df4e9c4251
Ajay Panicker [Tue, 19 Apr 2016 20:23:20 +0000 (20:23 +0000)]
"DO NOT MERGE" Add write SMS protection
am:
fd7a794 -s ours
* commit '
fd7a794fc57e06606244b9fc1673c9c549cce5c4':
"DO NOT MERGE" Add write SMS protection
Change-Id: I3dcb78c9213b10ad354c72ab756af773c04213c7
Seven Shen [Wed, 6 Apr 2016 19:25:17 +0000 (12:25 -0700)]
"DO NOT MERGE" Add write SMS protection
Bug:
25138326
Change-Id: I9f418370b8725d49e3734406b6f435107bcff021
Ajay Panicker [Wed, 6 Apr 2016 22:55:15 +0000 (15:55 -0700)]
"DO NOT MERGE" Add write SMS protection
Bug:
25138326
Change-Id: I494db57e9291fac108e2abae85db367992ad81a1
Bryce Lee [Mon, 29 Feb 2016 22:58:49 +0000 (14:58 -0800)]
DO NOT MERGE ANYWHERE Implement new API for retrieving supported Bluetooth profiles.
Bug:
26451648
Change-Id: Ice55556d64208656824d5a6f9b90230d17f0c3bc
Andre Eisenbach [Wed, 24 Feb 2016 18:47:16 +0000 (18:47 +0000)]
Merge "DO NOT MERGE Read Bluetooth interop database entries from settings (2/2)" into mnc-dr-dev
am:
e836319052
* commit '
e8363190528d0d95a35ab265ab91c591eb17a7c3':
DO NOT MERGE Read Bluetooth interop database entries from settings (2/2)
Andre Eisenbach [Wed, 24 Feb 2016 18:35:37 +0000 (18:35 +0000)]
Merge "DO NOT MERGE Read Bluetooth interop database entries from settings (2/2)" into mnc-dr-dev
Liejun Tao [Tue, 23 Feb 2016 21:53:10 +0000 (21:53 +0000)]
DO NOT MERGE Enhance AVRCP Absolute Volume control implementation
am:
1a1169dcb2 -s ours
* commit '
1a1169dcb2627c9667153232a356984e81f24e82':
DO NOT MERGE Enhance AVRCP Absolute Volume control implementation
Liejun Tao [Fri, 18 Dec 2015 20:59:01 +0000 (14:59 -0600)]
DO NOT MERGE Enhance AVRCP Absolute Volume control implementation
1. Remember the current local volume level, current remote volume level.
When user adjusts the volume, compare the returned remote volume
level with desired volume level, if they don't match, do retry.
2.Learn and remember the volume mapping between phone volume level and
remote volume level as the user adjusts volume. When user adjusts to one
remembered volume level, use the mapping directly. Otherwise calculate
the remote volume level and try with method described in step one.
3. Blacklist device if remote device does not tell its initial volume.
4. Define optional threshold for initial volume level to avoid headset
being too loud upon re-connection.
Signed-off-by: Liejun Tao <baibai@motorola.com>
Change-Id: I78112f5f401666f5a680561473a5c7f914071fbe
Andre Eisenbach [Thu, 14 Jan 2016 10:06:23 +0000 (02:06 -0800)]
DO NOT MERGE Read Bluetooth interop database entries from settings (2/2)
Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.
Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".
Bug:
26548845
Change-Id: I5903930178b70d1eb52d64b1c6051ce8ee346da4
Akshay Thakker [Sun, 14 Feb 2016 22:28:09 +0000 (22:28 +0000)]
Merge "Fix memory leak in Bluetooth AVRCP JNI" into mnc-dr-dev
am:
e225df4abf
* commit '
e225df4abfe69c5aa99b6463384afd4a67bd39c8':
Fix memory leak in Bluetooth AVRCP JNI
Ajay Panicker [Sun, 14 Feb 2016 22:27:56 +0000 (22:27 +0000)]
[DO NOT MERGE ANYWHERE] Null terminate MAP instance information
am:
082275e311 -s ours
* commit '
082275e31109a282c9ba1a00467d3d11bd65067c':
[DO NOT MERGE ANYWHERE] Null terminate MAP instance information
Akshay Thakker [Sun, 14 Feb 2016 22:17:51 +0000 (22:17 +0000)]
Merge "Fix memory leak in Bluetooth AVRCP JNI" into mnc-dr-dev
Casper Bonde [Mon, 4 Jan 2016 15:13:13 +0000 (16:13 +0100)]
Fix memory leak in Bluetooth AVRCP JNI
When rebasing change-id I3941793f9843abf4afa5ffbee40d1d01c118b29b
later change
bbb4110b455b3aa29106d5b4f0a37e1be8e09475 in AOSP,
a memory leak fix was removed by accident. This patch re-enables
the memory leak fix.
Bug:
26383160
Change-Id: I70fd2ea00f6135803f92aad3adda9ce38f47cc32
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
(cherry picked from commit
3a4b8693ee49932247a96099942fa1cecb4670bc)
Ajay Panicker [Fri, 8 Jan 2016 00:05:11 +0000 (16:05 -0800)]
[DO NOT MERGE ANYWHERE] Null terminate MAP instance information
Bug:
26437927
Change-Id: I673de7f7c68b9a02b234bb99c6f89c7fc36f90c9
Andre Eisenbach [Tue, 12 Jan 2016 19:36:47 +0000 (19:36 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36 am:
6e9165b908 -s ours am:
44c3652b4c am:
5a1ae16f4e am:
d59eb61a3e -s ours am:
d6e1fa7c20
am:
44853bf994
* commit '
44853bf9949725ba84c30cb40dc2f99f8b701a70':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 19:05:23 +0000 (19:05 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36 am:
6e9165b908 -s ours am:
44c3652b4c am:
5a1ae16f4e am:
d59eb61a3e -s ours
am:
d6e1fa7c20
* commit '
d6e1fa7c20fbddbf9ea5fa7b042bfdf276c1463a':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 19:02:36 +0000 (19:02 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36 am:
6e9165b908 -s ours am:
44c3652b4c am:
5a1ae16f4e
am:
d59eb61a3e -s ours
* commit '
d59eb61a3ef94ef69bbbcf8e039895d0fb2fd379':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 19:00:00 +0000 (19:00 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36 am:
6e9165b908 -s ours am:
44c3652b4c
am:
5a1ae16f4e
* commit '
5a1ae16f4ee61b1686e178389485ef65001ed167':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 18:56:46 +0000 (18:56 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36 am:
6e9165b908 -s ours
am:
44c3652b4c
* commit '
44c3652b4cb824089768112a5a5614cb4346cd0f':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Tue, 12 Jan 2016 18:53:14 +0000 (18:53 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
f81566bb85
am:
ff7beb91be
* commit '
ff7beb91bee0db50b4ce03aba1b39a3362f767c6':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 18:52:47 +0000 (18:52 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue am:
abb54d6d36
am:
6e9165b908 -s ours
* commit '
6e9165b90881581d1c58eb974b304465340b08e7':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Ashwini Munigala [Tue, 12 Jan 2016 18:48:04 +0000 (18:48 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
am:
f81566bb85
* commit '
f81566bb85a1d0388b738dc5553d096591fc9030':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 12 Jan 2016 18:46:52 +0000 (18:46 +0000)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
am:
abb54d6d36
* commit '
abb54d6d3614cd86a6349303400b9cf2f83af4c7':
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Andre Eisenbach [Tue, 29 Dec 2015 21:37:08 +0000 (13:37 -0800)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE is processed and SMS delivered successfully.
Bug:
22343270
CRs-Fixed: 903561
Change-Id: I9dafffc737a34233ede2d10e22cd969f520a12cf
Ashwini Munigala [Mon, 7 Sep 2015 16:08:09 +0000 (21:38 +0530)]
DO NOT MERGE Fix SMS delivered successfully but stuck SENDING issue
Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE is processed and SMS delivered successfully.
Bug:
22343270
CRs-Fixed: 903561
Change-Id: I9dafffc737a34233ede2d10e22cd969f520a12cf
Bryce Lee [Fri, 18 Dec 2015 19:33:47 +0000 (11:33 -0800)]
Map Bluetooth profiles correctly in isProfileDisabled helper function.
Change-Id: Ic38736a653e6413f1f3bb41c8dfe049abe8883f0
Bryce Lee [Thu, 17 Dec 2015 19:39:46 +0000 (11:39 -0800)]
Monitor disabled profile setting and enable/disable profiles on change.
Bug:
25900899
Change-Id: Id98ae58ada8eecd33a2c86970d9d20ae061680be
Bryce Lee [Mon, 16 Nov 2015 18:35:39 +0000 (10:35 -0800)]
Allow for automatic routing on HF AG to be disabled.
Bug:
25485578
Change-Id: Iefe06f9df811311040f154ddf8f578893b275ef4
Bryce Lee [Thu, 29 Oct 2015 06:00:29 +0000 (23:00 -0700)]
Implement setting/getting whether audio can be routed to the HFP HF device.
Bug:
25332357
Change-Id: I2d37d082673255a165dad955aa1ca4b9f00d599e
Bryce Lee [Thu, 29 Oct 2015 04:58:02 +0000 (04:58 +0000)]
Revert "Allow HFP HF implementations to specify a client controller."
This reverts commit
8843d8a82571b0a2f1b003cad999bed595814257.
Change-Id: I5371e263fd92c6790558d38f19945492731e17f6
Bryce Lee [Thu, 29 Oct 2015 04:08:54 +0000 (21:08 -0700)]
Allow HFP HF implementations to specify a client controller.
The client controller service is used by the HeadsetClientService to
determine conditions such as whether audio routing to device is permitted.
Bug:
25332357
Change-Id: I8971960f959084ed3969db7c8cdef11673a58994
Zach Johnson [Mon, 26 Oct 2015 16:47:48 +0000 (09:47 -0700)]
Remove receiver status foreground flag
Turns out this actually causes more problems than
it attempts to solve.
b/
25116554
b/
25256719
Change-Id: Ia30ab5bf0f6e794376eae85b2616bcdb0049ef76
Bryce Lee [Fri, 23 Oct 2015 19:30:29 +0000 (12:30 -0700)]
Allow for supported profiles to be reloaded on enable.
Bug:
24977590
Change-Id: I2e5371d3333482cdd1cf18d48fe3c2e0f2229e42
Ajay Panicker [Thu, 22 Oct 2015 23:11:53 +0000 (23:11 +0000)]
Remove Vcard filter for call-logs
am:
b211df6fcb
* commit '
b211df6fcbd7dcd055354b75afc2e68ea49a36d9':
Remove Vcard filter for call-logs
Ajay Panicker [Thu, 22 Oct 2015 19:00:25 +0000 (12:00 -0700)]
Remove Vcard filter for call-logs
Timestamps were being incorrectly filtered out of Vcards when sending
call-logs.
Bug:
25084927
Change-Id: Ied8912e7d2fdbcc6e6980c3773c4ec5a449842ec
Ajay Panicker [Wed, 21 Oct 2015 00:54:34 +0000 (00:54 +0000)]
Fix file permissions for Bluetooth share
am:
66d643091e
* commit '
66d643091edba75b4524483ea640273344533378':
Fix file permissions for Bluetooth share
Ajay Panicker [Tue, 13 Oct 2015 22:31:47 +0000 (15:31 -0700)]
Fix file permissions for Bluetooth share
Used a file provider to serve up URIs to allow
applications to access files in the external
Bluetooth directory.
Bug:
23367919
Change-Id: Iadcdcafb235f3eeb50a0e147f3ef982fc9ee38b3
Zach Johnson [Sun, 18 Oct 2015 06:18:23 +0000 (23:18 -0700)]
Only apply foreground flag for audio state connected
The other states aren't really that important, and
this reduces the chance of ANR.
Change-Id: Ie019b81a9fbfb9238cf8b6cce1308d0d7358cbf8
Zach Johnson [Sun, 18 Oct 2015 04:10:31 +0000 (21:10 -0700)]
Add FLAG_RECEIVER_FOREGROUND to audio state broadcasts
This is important so audio can be rejected in a timely manner
when necessary.
Change-Id: I4a7789d262ac74c5014b34eb959d502a68217362
Fyodor Kupolov [Thu, 15 Oct 2015 16:19:12 +0000 (16:19 +0000)]
am
4a9f9b02: Fix foreground scans for pre-M apps when location is disabled
* commit '
4a9f9b0253fde7341bf9e12c5bd0e6f29fced4fc':
Fix foreground scans for pre-M apps when location is disabled
Fyodor Kupolov [Fri, 18 Sep 2015 22:55:21 +0000 (15:55 -0700)]
Fix foreground scans for pre-M apps when location is disabled
Foreground scans were still broken even for L-or-earlier apps when the
location was disabled.
Bug:
24203266
Change-Id: Iaad8d7828a4b383b6cc0a033e94c7d2cd8c9328b
Hemant Gupta [Sun, 11 Oct 2015 13:43:35 +0000 (13:43 +0000)]
am
faf199e4: SAP: Fix missing connect response when call ongoing at connect
* commit '
faf199e456dbb987f343c829c603c035df10add7':
SAP: Fix missing connect response when call ongoing at connect
Hemant Gupta [Tue, 29 Sep 2015 18:35:40 +0000 (20:35 +0200)]
SAP: Fix missing connect response when call ongoing at connect
The CALL_ONGOING_STATE was set twice, causing the connect
response not to be sent to the peer device when there was an
ongoing call on DUT. This was violating the SAP Spec.
Bug:
24520367
Change-Id: I290d924870381a82a4abd8b6c42a6d0ebf55652f
Sharvil Nanavati [Sat, 26 Sep 2015 23:22:21 +0000 (16:22 -0700)]
Avoid NPE when dumping headset profile state.
Change-Id: I91767bcc09d4e16a9bd5c8dbe2e662a96f9880a5
Baligh Uddin [Fri, 25 Sep 2015 03:05:28 +0000 (03:05 +0000)]
am
704e3f3a: (-s ours) Import translations. DO NOT MERGE
* commit '
704e3f3af7cf84f51e9fbed82559f40b390ef62c':
Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Sep 2015 02:17:21 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: I65c7851b505747cca3d79e899ac168f07520fa0a
Auto-generated-cl: translation import
Baligh Uddin [Fri, 18 Sep 2015 17:16:28 +0000 (17:16 +0000)]
am
184ad241: (-s ours) Import translations. DO NOT MERGE
* commit '
184ad2417e3855f868e4533d69f2b0b02b2705a0':
Import translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Sep 2015 17:04:53 +0000 (10:04 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1ebce88cb2ffc43352d10ab0a81874f87e4f2d48
Auto-generated-cl: translation import
Sharvil Nanavati [Mon, 14 Sep 2015 18:00:25 +0000 (18:00 +0000)]
Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state." into cw-e-dev
Sharvil Nanavati [Mon, 14 Sep 2015 06:30:07 +0000 (23:30 -0700)]
Read connection intervals from config.xml so it can be overriden by device.
Wear needs the minimum possible connection interval for BLE connections
to support the Wear iOS companion app. This change simply moves the hard-
coded connection intervals to config.xml so they can be overriden for
Wear devices.
Bug:
23903184
Change-Id: I1f60772ef6a100ad5e4f02f629b5ca6e80fc207a
Sharvil Nanavati [Sun, 13 Sep 2015 00:18:39 +0000 (17:18 -0700)]
Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.
The broadcast is currently sent while the HFP client state machine is
in the Connected state. As a result, a broadcast receiver who wishes
to disconnect the incoming audio connection won't be able to successfully
call disconnectAudio. By changing the internal state first and then
broadcasting, receivers can immediately perform audio operations.
Bug:
23568208
Change-Id: I60de9775f9a0126774275d08ef999f082ae41747
Ajay Panicker [Fri, 11 Sep 2015 05:13:28 +0000 (05:13 +0000)]
am
1c28582b: Allow senderAddressing on default filter for message Listing
* commit '
1c28582b0e780eed2f8480e5c2dfbf0da745e4e8':
Allow senderAddressing on default filter for message Listing
Ajay Panicker [Thu, 10 Sep 2015 23:31:04 +0000 (16:31 -0700)]
Allow senderAddressing on default filter for message Listing
Adjusted the PARAMETER_MASK_DEFAULT constant for when a
message listing request is recieved and a message filter isnt
provided. This new filter value causes the sender_address field
to be sent along with all the other default information.
Bug:
22163529
Change-Id: I49444cfb341d2e6cc72bdab55aa441d712b03f14
Ajay Panicker [Thu, 10 Sep 2015 00:59:27 +0000 (00:59 +0000)]
am
0ebd4e58: Move SMS message to proper folder after sending
* commit '
0ebd4e58920add6114b1f345b7d95e0709096fe3':
Move SMS message to proper folder after sending
Ajay Panicker [Wed, 9 Sep 2015 19:11:51 +0000 (12:11 -0700)]
Move SMS message to proper folder after sending
Move a SMS message to the correct folder upon receiving an intent
detailing if the message was succesfully sent or not. If sent
successfully, move to the SENT folder, otherwise move it to
the FAILED folder.
Bug:
22992865
Change-Id: Ifdcfb7bb613844f507ef27460ead520c6573b89d
Sungmin Choi [Wed, 9 Sep 2015 17:54:05 +0000 (17:54 +0000)]
am
6385f5ec: Add NREC setting routine even after SCO connected
* commit '
6385f5ec823dd1113708532d20729dba67d9beaa':
Add NREC setting routine even after SCO connected
Sungmin Choi [Fri, 4 Sep 2015 22:01:26 +0000 (15:01 -0700)]
Add NREC setting routine even after SCO connected
Bug:
23471393
Change-Id: I46264238e4810a7f280e656220bc68e76eb0cb37
Signed-off-by: koh.changseok <koh.changseok@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
Casper Bonde [Tue, 8 Sep 2015 16:17:33 +0000 (16:17 +0000)]
am
471e023d: SAP: Fix missing attribute in disconnect_ind
* commit '
471e023da5f39d21ebcb1d3fad43a591c15f6be3':
SAP: Fix missing attribute in disconnect_ind
Casper Bonde [Fri, 28 Aug 2015 10:48:53 +0000 (12:48 +0200)]
SAP: Fix missing attribute in disconnect_ind
The internal TEST flag was removing too much code.
To make it easier to run test, and avoid future issues
with removing needed code, the TEST flag is no longer used
to remove code.
This bug was noticed when running the PTS testcases without the
PTS_TEST flag set. It is assumed that this fix will make
TC_SERVER_DCN_BV_02_I work without the PTS flag, but unless PTS
have updated their test case to accept both a gracefull disconnect
and a forced disconnect, TC_SERVER_DCN_BV_03_I will still fail in
a production build. The SAP spec suggest to use a gracefull disconnect
when initiating a disconnect from a server, hence it is not a good
idea to expose a force disconnect option to the used without first
having tried a gracefull disconnect. Hence the PTS test case
implementation is in conflict with the intented use specified in
the SAP specification.
Without this fix a build with PTS_TEST=false will not work as
intented.
PTS_TEST replaced with system property bt.sap.pts. Set it to true
to enable the force disconnect button.
Bug:
23614694
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Change-Id: I776a53d6e786c21000ef62094f9a9948ee5880b8
Casper Bonde [Fri, 4 Sep 2015 00:12:29 +0000 (00:12 +0000)]
am
e377aae9: SAP: Fix logic to skip padding bytes for requests received
* commit '
e377aae948e58f974c3af14360d2f6ce09b868aa':
SAP: Fix logic to skip padding bytes for requests received
Casper Bonde [Fri, 28 Aug 2015 14:28:03 +0000 (16:28 +0200)]
SAP: Fix logic to skip padding bytes for requests received
As per SAP spec, padding bytes can be 0-3 bytes, but the current code
has incorrect logic, that would lead to calculation of padding bytes
as 4 in case the APDU length was multiple of 4, which would lead to
incorrect parsing logic in SAP Server and can lead to issues of no
response for APDU request from SAP Server as it keeps waiting for
reading more bytes from rfcomm which are not present.
Also check added in code not to send msg to RIL if socket is null to
prevent crash in BT Sap module.
Bug:
23024598
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Change-Id: I24e4a6b850709c9c32b7e0992626a0219dacef03
Andre Eisenbach [Tue, 1 Sep 2015 01:43:22 +0000 (01:43 +0000)]
am
08fba96f: am
bf37a029: Fix column ID for PBAP name lookup
* commit '
08fba96fc3955528bc3a2761731876c1b03f9e4f':
Fix column ID for PBAP name lookup
Andre Eisenbach [Tue, 1 Sep 2015 01:32:55 +0000 (01:32 +0000)]
am
bf37a029: Fix column ID for PBAP name lookup
* commit '
bf37a0295d110b77b635ca2986172bbdd59331bb':
Fix column ID for PBAP name lookup
Andre Eisenbach [Tue, 1 Sep 2015 00:17:42 +0000 (17:17 -0700)]
Fix column ID for PBAP name lookup
When a phonebook lookup is performed to resolve a phone number into a
name, the wrong column ID is used to retrieve the value from the cursor,
causing an un-caught exception and a failed lookup.
Bug:
22953958
Change-Id: I1f826412916012382903fdf30d43d5cb3516432c
Zach Johnson [Fri, 28 Aug 2015 04:35:47 +0000 (21:35 -0700)]
HFP should let the system handle ringtones
https://www.youtube.com/watch?v=NJVrTYbxwgA
First of all, it was choosing the sound in this order:
1. alarm sound
2. notification sound
3. ringtone sound
me: o_O
Second of all, it can't take custom ringtones
for contacts into account.
Change-Id: I16e04e69bdc9b190f8d12412dfd8365420f1da5b
Ajay Panicker [Thu, 27 Aug 2015 19:40:06 +0000 (19:40 +0000)]
am
d678c40f: am
9135d866: HFP/A2DP: Remove pending auto-connect messages when connected
* commit '
d678c40f35f18ef48bddbbf07934bd2b82f92400':
HFP/A2DP: Remove pending auto-connect messages when connected
Ajay Panicker [Thu, 27 Aug 2015 19:33:32 +0000 (19:33 +0000)]
am
9135d866: HFP/A2DP: Remove pending auto-connect messages when connected
* commit '
9135d866b12ff019a4eae37e7a8c0df56a4383f2':
HFP/A2DP: Remove pending auto-connect messages when connected
Ajay Panicker [Wed, 26 Aug 2015 20:58:38 +0000 (13:58 -0700)]
HFP/A2DP: Remove pending auto-connect messages when connected
Fixes a bug in which being paired with multiple headsets causes
previously connected headsets to disconnect. This fix removes
pending connect attemps once one device is successfully connected.
Bug:
23111466
Change-Id: Id471189d92643b9626e63197c00e76defd0a72bf
Sharvil Nanavati [Tue, 25 Aug 2015 05:10:54 +0000 (22:10 -0700)]
Fix low volume on Nemo devices after accepting incoming HFP call.
Bug:
23495386
Change-Id: I98c60188dd5d4aaf4bc5a7f212219918e1374989
Sharvil Nanavati [Thu, 20 Aug 2015 18:44:07 +0000 (18:44 +0000)]
am
8f1def75: am
72ecb4ca: Make location enabled check configurable when returning scan results.
* commit '
8f1def75a6f57a04fd0e8a6423343a690d694154':
Make location enabled check configurable when returning scan results.
Sharvil Nanavati [Thu, 20 Aug 2015 18:39:47 +0000 (18:39 +0000)]
am
72ecb4ca: Make location enabled check configurable when returning scan results.
* commit '
72ecb4caa630b63f66505ccb202a807b1af4e294':
Make location enabled check configurable when returning scan results.
Sharvil Nanavati [Wed, 19 Aug 2015 18:17:31 +0000 (11:17 -0700)]
Make location enabled check configurable when returning scan results.
Some device classes (e.g. Wear) don't allow location to be enabled but
would still like to allow LE scanning to take place. This patch allows
the location enabled check to be bypassed if the platform is so configured.
Even if the location check is disabled, the calling app must still have
one of the location permissions.
Bug:
21852542
Change-Id: I206366ce262776d4668c0c42e066f0e20f5fdfeb
Vineeta Srivastava [Fri, 14 Aug 2015 06:51:37 +0000 (06:51 +0000)]
am
fe7270b5: Merge "SAP: Do not send padding when packet size is mutiple of 4" into mnc-dr-dev
* commit '
fe7270b5aee5b3345d5c60f161d866a0648dead9':
SAP: Do not send padding when packet size is mutiple of 4
Vineeta Srivastava [Fri, 14 Aug 2015 06:45:17 +0000 (06:45 +0000)]
Merge "SAP: Do not send padding when packet size is mutiple of 4" into mnc-dr-dev
Fyodor Kupolov [Fri, 14 Aug 2015 00:26:58 +0000 (00:26 +0000)]
am
cd1747f7: am
312e10ad: Block results if location is disabled in Settings
* commit '
cd1747f76733ab66fe77107d28aa35a7f0a0ce32':
Block results if location is disabled in Settings
Fyodor Kupolov [Fri, 14 Aug 2015 00:20:37 +0000 (00:20 +0000)]
am
312e10ad: Block results if location is disabled in Settings
* commit '
312e10ad5bcbb1e3d021c4798d55c40f99c7a6ef':
Block results if location is disabled in Settings
Fyodor Kupolov [Fri, 10 Jul 2015 01:40:51 +0000 (18:40 -0700)]
Block results if location is disabled in Settings
Apps holding PEERS_MAC_ADDRESS permission can still access scan results.
Bug:
21852542
Change-Id: I75fc289e8965df64efb7ff84fe5a4204904724ab
Pavlin Radoslavov [Sat, 8 Aug 2015 02:58:50 +0000 (02:58 +0000)]
am
009f740e: am
fdb62835: Revert "Bluetooth-OPP: Enable support to send same file multiple times"
* commit '
009f740ebdbfc60c1aaac2f7eb53818bb7385955':
Revert "Bluetooth-OPP: Enable support to send same file multiple times"
Pavlin Radoslavov [Sat, 8 Aug 2015 02:51:19 +0000 (02:51 +0000)]
am
fdb62835: Revert "Bluetooth-OPP: Enable support to send same file multiple times"
* commit '
fdb62835992e82681d2166dbf5716e26ab57d964':
Revert "Bluetooth-OPP: Enable support to send same file multiple times"
Pavlin Radoslavov [Sat, 8 Aug 2015 01:13:07 +0000 (18:13 -0700)]
Revert "Bluetooth-OPP: Enable support to send same file multiple times"
This reverts commit
86449ac4bc7a8f4b2afeab4da420ae4f980c850a.
The revert is needed to address an issue that crashes Bluetooth.
Bug:
22836458
Change-Id: I8c8b51544637dd1c2250eb91e86cb2ca1bbc9fe7
Miao Chou [Sat, 8 Aug 2015 01:21:31 +0000 (01:21 +0000)]
am
eeb1b455: am
2f70ddb7: am
38b70dd3: (-s ours) am
89cdf16b: am
2816b2cb: am
0a268209: am
6b58105c: am
75d042a4: (-s ours) am
ef9b774c: am
0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS
* commit '
eeb1b455483b41b602689879d32df0b852ba623a':
DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS