OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoam 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled
Fyodor Kupolov [Thu, 15 Oct 2015 16:25:38 +0000 (16:25 +0000)]
am 80a654ab: am 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled

* commit '80a654ab3be8109bc427e27055b569127941215d':
  Fix foreground scans for pre-M apps when location is disabled

8 years agoam 4a9f9b02: Fix foreground scans for pre-M apps when location is disabled
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

8 years agoFix 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

8 years agoam 836f7d38: am faf199e4: SAP: Fix missing connect response when call ongoing at...
Hemant Gupta [Sun, 11 Oct 2015 14:11:19 +0000 (14:11 +0000)]
am 836f7d38: am faf199e4: SAP: Fix missing connect response when call ongoing at connect

* commit '836f7d384eea45c1cc29ab671be798e6b26da519':
  SAP: Fix missing connect response when call ongoing at connect

8 years agoam faf199e4: SAP: Fix missing connect response when call ongoing at connect
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

8 years agoSAP: 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

8 years agoam 7618faa5: Avoid NPE when dumping headset profile state.
Sharvil Nanavati [Sun, 27 Sep 2015 00:23:26 +0000 (00:23 +0000)]
am 7618faa5: Avoid NPE when dumping headset profile state.

* commit '7618faa5df18324c581ade91f75454e2e3d8ad49':
  Avoid NPE when dumping headset profile state.

8 years agoAvoid NPE when dumping headset profile state.
Sharvil Nanavati [Sat, 26 Sep 2015 23:22:21 +0000 (16:22 -0700)]
Avoid NPE when dumping headset profile state.

Change-Id: I91767bcc09d4e16a9bd5c8dbe2e662a96f9880a5

8 years agoam 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Sep 2015 03:16:30 +0000 (03:16 +0000)]
am 3b46d46c: (-s ours) am 704e3f3a: (-s ours) Import translations. DO NOT MERGE

* commit '3b46d46c6244f6cefe2e0c3ec8460717c2560dd5':
  Import translations. DO NOT MERGE

8 years agoam 704e3f3a: (-s ours) Import translations. DO NOT MERGE
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

8 years agoImport 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

8 years agoam b439f53e: (-s ours) am 184ad241: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 18 Sep 2015 17:24:19 +0000 (17:24 +0000)]
am b439f53e: (-s ours) am 184ad241: (-s ours) Import translations. DO NOT MERGE

* commit 'b439f53e7d5991f197fd3b0168a6ad0f5390f33b':
  Import translations. DO NOT MERGE

8 years agoam 184ad241: (-s ours) Import translations. DO NOT MERGE
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

8 years agoImport 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

8 years agoam 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn...
Sharvil Nanavati [Mon, 14 Sep 2015 18:06:50 +0000 (18:06 +0000)]
am 0e94b62d: Merge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state." into cw-e-dev

* commit '0e94b62d60f3a729b03841a1891af3a889c9748f':
  Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state.

8 years agoMerge "Send the AUDIO_CONNECTED broadcast after switching to the AudioOn state."...
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

8 years agoam 93793893: Read connection intervals from config.xml so it can be overriden by...
Sharvil Nanavati [Mon, 14 Sep 2015 16:12:12 +0000 (16:12 +0000)]
am 93793893: Read connection intervals from config.xml so it can be overriden by device.

* commit '93793893b122e5eb3101899411fccaabc075dfaf':
  Read connection intervals from config.xml so it can be overriden by device.

8 years agoRead connection intervals from config.xml so it can be overriden by device.
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

8 years agoSend the AUDIO_CONNECTED broadcast after switching to the AudioOn state.
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

8 years agoam fb540d85: am 1c28582b: Allow senderAddressing on default filter for message Listing
Ajay Panicker [Fri, 11 Sep 2015 05:20:34 +0000 (05:20 +0000)]
am fb540d85: am 1c28582b: Allow senderAddressing on default filter for message Listing

* commit 'fb540d85c3591020df3615101fbb9f788a27c139':
  Allow senderAddressing on default filter for message Listing

8 years agoam 1c28582b: Allow senderAddressing on default filter for message Listing
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

8 years agoAllow 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

8 years agoam 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending
Ajay Panicker [Thu, 10 Sep 2015 01:07:48 +0000 (01:07 +0000)]
am 4d5be8f0: am 0ebd4e58: Move SMS message to proper folder after sending

* commit '4d5be8f02eedfcdb9b49962a2d881d7db7adb273':
  Move SMS message to proper folder after sending

8 years agoam 0ebd4e58: Move SMS message to proper folder after sending
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

8 years agoMove 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

8 years agoam e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected
Sungmin Choi [Wed, 9 Sep 2015 18:00:47 +0000 (18:00 +0000)]
am e48e8d0b: am 6385f5ec: Add NREC setting routine even after SCO connected

* commit 'e48e8d0b7c5b9ce8c2310d68c836cac4444f09f8':
  Add NREC setting routine even after SCO connected

8 years agoam 6385f5ec: Add NREC setting routine even after SCO connected
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

8 years agoAdd 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>
8 years agoam 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind
Casper Bonde [Tue, 8 Sep 2015 16:23:22 +0000 (16:23 +0000)]
am 9ff028cc: am 471e023d: SAP: Fix missing attribute in disconnect_ind

* commit '9ff028cca112cf2fb1ebc9a73f77f6a4033a644e':
  SAP: Fix missing attribute in disconnect_ind

8 years agoam 471e023d: SAP: Fix missing attribute in disconnect_ind
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

8 years agoSAP: 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

9 years agoam 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for requests received
Casper Bonde [Fri, 4 Sep 2015 00:23:49 +0000 (00:23 +0000)]
am 2ecfab69: am e377aae9: SAP: Fix logic to skip padding bytes for requests received

* commit '2ecfab690d8a15de275f665008a3645dd71db95d':
  SAP: Fix logic to skip padding bytes for requests received

9 years agoam e377aae9: SAP: Fix logic to skip padding bytes for requests received
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

9 years agoSAP: 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

9 years agoam fa60067c: am 08fba96f: am bf37a029: Fix column ID for PBAP name lookup
Andre Eisenbach [Tue, 1 Sep 2015 01:50:43 +0000 (01:50 +0000)]
am fa60067c: am 08fba96f: am bf37a029: Fix column ID for PBAP name lookup

* commit 'fa60067ce39759fc2a3ae60127b02753c0dba162':
  Fix column ID for PBAP name lookup

9 years agoam 08fba96f: am bf37a029: Fix column ID for PBAP name lookup
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

9 years agoam bf37a029: 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

9 years agoFix 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

9 years agoam 157a5b49: HFP should let the system handle ringtones
Zach Johnson [Fri, 28 Aug 2015 18:19:18 +0000 (18:19 +0000)]
am 157a5b49: HFP should let the system handle ringtones

* commit '157a5b491ca74ecd8dde0400d3d6fc175d28165b':
  HFP should let the system handle ringtones

9 years agoHFP should let the system handle ringtones
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

9 years agoam 38347a7e: am d678c40f: am 9135d866: HFP/A2DP: Remove pending auto-connect messages...
Ajay Panicker [Thu, 27 Aug 2015 19:49:50 +0000 (19:49 +0000)]
am 38347a7e: am d678c40f: am 9135d866: HFP/A2DP: Remove pending auto-connect messages when connected

* commit '38347a7e66a7c8a47767d8aad3d9534d95a0f070':
  HFP/A2DP: Remove pending auto-connect messages when connected

9 years agoam d678c40f: am 9135d866: HFP/A2DP: Remove pending auto-connect messages when connected
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

9 years agoam 9135d866: 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

9 years agoHFP/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

9 years agoam 37604004: Fix low volume on Nemo devices after accepting incoming HFP call.
Sharvil Nanavati [Tue, 25 Aug 2015 05:27:44 +0000 (05:27 +0000)]
am 37604004: Fix low volume on Nemo devices after accepting incoming HFP call.

* commit '37604004520846495a5dba50d7c3afef05a9ecf9':
  Fix low volume on Nemo devices after accepting incoming HFP call.

9 years agoFix low volume on Nemo devices after accepting incoming HFP call.
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

9 years agoam e80da8a0: am 8f1def75: am 72ecb4ca: Make location enabled check configurable when...
Sharvil Nanavati [Thu, 20 Aug 2015 18:52:09 +0000 (18:52 +0000)]
am e80da8a0: am 8f1def75: am 72ecb4ca: Make location enabled check configurable when returning scan results.

* commit 'e80da8a027760b9daf3a431f620aff41d0673040':
  Make location enabled check configurable when returning scan results.

9 years agoam 8f1def75: am 72ecb4ca: Make location enabled check configurable when returning...
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.

9 years agoam 72ecb4ca: 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.

9 years agoMake 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

9 years agoam 239d777a: am fe7270b5: Merge "SAP: Do not send padding when packet size is mutiple...
Vineeta Srivastava [Fri, 14 Aug 2015 06:58:33 +0000 (06:58 +0000)]
am 239d777a: am fe7270b5: Merge "SAP: Do not send padding when packet size is mutiple of 4" into mnc-dr-dev

* commit '239d777a1ac738981366aa78578a4ae693844b01':
  SAP: Do not send padding when packet size is mutiple of 4

9 years agoam fe7270b5: Merge "SAP: Do not send padding when packet size is mutiple of 4" into...
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

9 years agoMerge "SAP: Do not send padding when packet size is mutiple of 4" into mnc-dr-dev
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

9 years agoam 2a79829f: am cd1747f7: am 312e10ad: Block results if location is disabled in Settings
Fyodor Kupolov [Fri, 14 Aug 2015 00:32:24 +0000 (00:32 +0000)]
am 2a79829f: am cd1747f7: am 312e10ad: Block results if location is disabled in Settings

* commit '2a79829f079d733a148b900aee276149eff7b1c5':
  Block results if location is disabled in Settings

9 years agoam cd1747f7: am 312e10ad: Block results if location is disabled in Settings
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

9 years agoam 312e10ad: 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

9 years agoBlock 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

9 years agoam 68d9318e: am 009f740e: am fdb62835: Revert "Bluetooth-OPP: Enable support to send...
Pavlin Radoslavov [Sat, 8 Aug 2015 03:04:28 +0000 (03:04 +0000)]
am 68d9318e: am 009f740e: am fdb62835: Revert "Bluetooth-OPP: Enable support to send same file multiple times"

* commit '68d9318e7d3c6c0a264554582904a548ccf036de':
  Revert "Bluetooth-OPP: Enable support to send same file multiple times"

9 years agoam 009f740e: am fdb62835: Revert "Bluetooth-OPP: Enable support to send same file...
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"

9 years agoam fdb62835: 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"

9 years agoRevert "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

9 years agoam 0ab92987: am eeb1b455: am 2f70ddb7: am 38b70dd3: (-s ours) am 89cdf16b: am 2816b2c...
Miao Chou [Sat, 8 Aug 2015 01:29:58 +0000 (01:29 +0000)]
am 0ab92987: 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 '0ab9298718014a4a4c6c9ae552ab9037ae67da51':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam eeb1b455: am 2f70ddb7: am 38b70dd3: (-s ours) am 89cdf16b: am 2816b2cb: am 0a26820...
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

9 years agoam 2f70ddb7: am 38b70dd3: (-s ours) am 89cdf16b: am 2816b2cb: am 0a268209: am 6b58105...
Miao Chou [Sat, 8 Aug 2015 01:12:29 +0000 (01:12 +0000)]
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 '2f70ddb75a02ac0390822356d718e41017d6e8c6':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 971383ef: am 8ae7e398: am f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219...
Miao Chou [Sat, 8 Aug 2015 01:03:22 +0000 (01:03 +0000)]
am 971383ef: am 8ae7e398: am f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '971383efa161a713fe20823e50fa6d802ba845a4':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 38b70dd3: (-s ours) am 89cdf16b: am 2816b2cb: am 0a268209: am 6b58105c: am 75d042a...
Miao Chou [Sat, 8 Aug 2015 01:02:32 +0000 (01:02 +0000)]
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 '38b70dd36255415c1a9fa638122ad4689846f393':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 89cdf16b: am 2816b2cb: am 0a268209: am 6b58105c: am 75d042a4: (-s ours) am ef9b774...
Miao Chou [Sat, 8 Aug 2015 00:56:14 +0000 (00:56 +0000)]
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 '89cdf16b01a296857ea57801476f642cf0b4f1ec':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 8ae7e398: am f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6...
Miao Chou [Sat, 8 Aug 2015 00:55:49 +0000 (00:55 +0000)]
am 8ae7e398: am f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '8ae7e3985640cd3a7f8e8aae17bad843a2c8c1d8':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 2816b2cb: am 0a268209: am 6b58105c: am 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5...
Miao Chou [Sat, 8 Aug 2015 00:51:39 +0000 (00:51 +0000)]
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 '2816b2cba06edb93b353b42087aec7f689035e6e':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c7...
Miao Chou [Sat, 8 Aug 2015 00:50:11 +0000 (00:50 +0000)]
am f29687ed: am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit 'f29687ed0e0ff7c90bd43f89190ca0568f6135ae':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 0a268209: am 6b58105c: am 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5a: DO NOT...
Miao Chou [Sat, 8 Aug 2015 00:44:53 +0000 (00:44 +0000)]
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 '0a268209aec6f988b1ef2a60c1e7a2c0130c7ee0':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT...
Miao Chou [Sat, 8 Aug 2015 00:41:30 +0000 (00:41 +0000)]
am 2c7ffe6b: (-s ours) am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '2c7ffe6b2dd6dbc9fb53c548401da46a9068bef1':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 6b58105c: am 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix securi...
Miao Chou [Sat, 8 Aug 2015 00:36:53 +0000 (00:36 +0000)]
am 6b58105c: am 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '6b58105c04abdfb2e8aa0f198b41c4c5a9f35d20':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnera...
Miao Chou [Sat, 8 Aug 2015 00:35:40 +0000 (00:35 +0000)]
am 1267abe1: am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '1267abe1e7b71de43625087d4e28e2101268000e':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities...
Miao Chou [Sat, 8 Aug 2015 00:29:05 +0000 (00:29 +0000)]
am b117219a: am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit 'b117219a842d3aacaf0ee4e790a01417aaf05213':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix security vulnerabil...
Miao Chou [Sat, 8 Aug 2015 00:27:52 +0000 (00:27 +0000)]
am 75d042a4: (-s ours) am ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '75d042a4c53c09f82b4a95cf82ded21ffbcb017f':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission...
Miao Chou [Sat, 8 Aug 2015 00:23:30 +0000 (00:23 +0000)]
am ef9b774c: am 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit 'ef9b774c992cbff61502a3eb6c680862db26a468':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission...
Miao Chou [Sat, 8 Aug 2015 00:23:15 +0000 (00:23 +0000)]
am 46f1dd6d: am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '46f1dd6d20d4108a44f06137a176d6548c6a0ac6':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting...
Miao Chou [Sat, 8 Aug 2015 00:17:47 +0000 (00:17 +0000)]
am 0f6aaa5a: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '0f6aaa5a945345b273bce16429c5ac56f3d1e7a9':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoam 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting...
Miao Chou [Sat, 8 Aug 2015 00:16:42 +0000 (00:16 +0000)]
am 19004c75: DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '19004c751f36aa2b01d3e03d4f761d8897542bd2':
  DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

9 years agoDO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS
Miao Chou [Mon, 20 Jul 2015 19:14:25 +0000 (12:14 -0700)]
DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

This CL adds permission check to avoid unauthorized deletion of any MMS/SMS
messages in BluetoothMapContentObserver.actionMessageSentDisconnected
function.

Bug: 22343270
Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a

9 years agoDO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS
Miao Chou [Mon, 20 Jul 2015 19:14:25 +0000 (12:14 -0700)]
DO NOT MERGE Fix security vulnerabilities in permission of deleting MMS/SMS

This CL adds permission check to avoid unauthorized deletion of any MMS/SMS
messages in BluetoothMapContentObserver.actionMessageSentDisconnected
function.

Bug: 22343270
Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a

9 years agoam 496ed0e7: am 382b692d: am 6eb32d5f: Implement Bluetooth settings factory reset...
Ajay Panicker [Wed, 5 Aug 2015 18:26:02 +0000 (18:26 +0000)]
am 496ed0e7: am 382b692d: am 6eb32d5f: Implement Bluetooth settings factory reset (1/5)

* commit '496ed0e75cf3406a6db9f091b1d2cd77b1470854':
  Implement Bluetooth settings factory reset (1/5)

9 years agoam 382b692d: am 6eb32d5f: Implement Bluetooth settings factory reset (1/5)
Ajay Panicker [Wed, 5 Aug 2015 18:16:26 +0000 (18:16 +0000)]
am 382b692d: am 6eb32d5f: Implement Bluetooth settings factory reset (1/5)

* commit '382b692d2f80d6b1f87c80034b6e633fa3c0dbfd':
  Implement Bluetooth settings factory reset (1/5)

9 years agoam 6eb32d5f: Implement Bluetooth settings factory reset (1/5)
Ajay Panicker [Wed, 5 Aug 2015 18:01:12 +0000 (18:01 +0000)]
am 6eb32d5f: Implement Bluetooth settings factory reset (1/5)

* commit '6eb32d5f7c30f04da45c3da0974bbb63725a0978':
  Implement Bluetooth settings factory reset (1/5)

9 years agoImplement Bluetooth settings factory reset (1/5)
Ajay Panicker [Tue, 28 Jul 2015 23:47:54 +0000 (16:47 -0700)]
Implement Bluetooth settings factory reset (1/5)

Implemented the factory reset function to be used to reset all bluetooth
settings on device to factory default

Bug: 16161518

9 years agoSAP: Do not send padding when packet size is mutiple of 4
koh.changseok [Wed, 22 Jul 2015 08:34:53 +0000 (17:34 +0900)]
SAP: Do not send padding when packet size is mutiple of 4

Bug: 22943799
Change-Id: I48d411f4e3a79a891360a9a855c4680bea19d748

9 years agoam f07d604d: am 20657867: am 1dd20863: Merge "Change MNC codename to just M." into...
Dianne Hackborn [Sat, 1 Aug 2015 16:51:26 +0000 (16:51 +0000)]
am f07d604d: am 20657867: am 1dd20863: Merge "Change MNC codename to just M." into mnc-dev

* commit 'f07d604dd450a7c12d064404df9e278f8a0a6dca':
  Change MNC codename to just M.

9 years agoam 20657867: am 1dd20863: Merge "Change MNC codename to just M." into mnc-dev
Dianne Hackborn [Sat, 1 Aug 2015 16:34:28 +0000 (16:34 +0000)]
am 20657867: am 1dd20863: Merge "Change MNC codename to just M." into mnc-dev

* commit '2065786787d98ab13d1f7f4ae8e3b5da5286c3d0':
  Change MNC codename to just M.

9 years agoam 1dd20863: Merge "Change MNC codename to just M." into mnc-dev
Dianne Hackborn [Fri, 31 Jul 2015 19:42:16 +0000 (19:42 +0000)]
am 1dd20863: Merge "Change MNC codename to just M." into mnc-dev

* commit '1dd20863cde3b61cea48d2e06d1814f5f9651691':
  Change MNC codename to just M.

9 years agoMerge "Change MNC codename to just M." into mnc-dev
Dianne Hackborn [Fri, 31 Jul 2015 17:12:00 +0000 (17:12 +0000)]
Merge "Change MNC codename to just M." into mnc-dev

9 years agoam 08a97383: am 42189fae: am 1b1433ad: Legacy foreground apps should continue getting...
Fyodor Kupolov [Wed, 29 Jul 2015 22:23:28 +0000 (22:23 +0000)]
am 08a97383: am 42189fae: am 1b1433ad: Legacy foreground apps should continue getting scan results

* commit '08a97383fb86335db723ddbd8c0d7e8c0ca7056d':
  Legacy foreground apps should continue getting scan results

9 years agoChange MNC codename to just M.
Dianne Hackborn [Wed, 29 Jul 2015 22:22:43 +0000 (15:22 -0700)]
Change MNC codename to just M.

Change-Id: I1e5989dbc73f89bd292465142560952bc8e44f59

9 years agoam 42189fae: am 1b1433ad: Legacy foreground apps should continue getting scan results
Fyodor Kupolov [Wed, 29 Jul 2015 22:16:24 +0000 (22:16 +0000)]
am 42189fae: am 1b1433ad: Legacy foreground apps should continue getting scan results

* commit '42189faefd942891a8e86e58475b788b623395d8':
  Legacy foreground apps should continue getting scan results

9 years agoam 1b1433ad: Legacy foreground apps should continue getting scan results
Fyodor Kupolov [Wed, 29 Jul 2015 22:08:07 +0000 (22:08 +0000)]
am 1b1433ad: Legacy foreground apps should continue getting scan results

* commit '1b1433ad9b4d769a1f9e37284c5d80fb021d31d7':
  Legacy foreground apps should continue getting scan results

9 years agoLegacy foreground apps should continue getting scan results
Fyodor Kupolov [Wed, 29 Jul 2015 21:32:54 +0000 (14:32 -0700)]
Legacy foreground apps should continue getting scan results

Pre-M apps running in the foreground now get scan results. For legacy apps
running in the background, no results are returned and the error is logged.

Bug: 21852542
Change-Id: Ic7a91f34c6718c26f0dae30dade6a436fe1061af

9 years agoam 3a725ac4: (-s ours) am 0f2a49f7: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 13:09:23 +0000 (13:09 +0000)]
am 3a725ac4: (-s ours) am 0f2a49f7: (-s ours) Import translations. DO NOT MERGE

* commit '3a725ac414cf0cb26c0a8b6d3255da73b35eb5b3':
  Import translations. DO NOT MERGE

9 years agoam 0f2a49f7: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 12:51:43 +0000 (12:51 +0000)]
am 0f2a49f7: (-s ours) Import translations. DO NOT MERGE

* commit '0f2a49f77755ad5d846d1cc4ddfb55871da0f139':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Jul 2015 12:28:27 +0000 (05:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: I31cda5f4892ecf86a9c9119562f73932f163b8f1
Auto-generated-cl: translation import

9 years agoam 424f7e62: am 597118e0: am edb6da17: Fix security vulnerabilities in permission...
Miao Chou [Fri, 24 Jul 2015 21:16:13 +0000 (21:16 +0000)]
am 424f7e62: am 597118e0: am edb6da17: Fix security vulnerabilities in permission of deleting MMS/SMS

* commit '424f7e625a4102fdf1546bc9b8939d390cd5c1be':
  Fix security vulnerabilities in permission of deleting MMS/SMS