OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 years agoam edb6da17: Fix security vulnerabilities in permission of deleting MMS/SMS
Miao Chou [Fri, 24 Jul 2015 20:45:09 +0000 (20:45 +0000)]
am edb6da17: Fix security vulnerabilities in permission of deleting MMS/SMS

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

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

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

Bug: 22343270
Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a

8 years agoam 27b5d6cb: Add ACCESS_COARSE_LOCATION to Bluetooth.
tturney [Fri, 24 Jul 2015 19:37:42 +0000 (19:37 +0000)]
am 27b5d6cb: Add ACCESS_COARSE_LOCATION to Bluetooth.

* commit '27b5d6cb0c044860cadccaeecf1300dad3887b21':
  Add ACCESS_COARSE_LOCATION to Bluetooth.

8 years agoAdd ACCESS_COARSE_LOCATION to Bluetooth.
tturney [Thu, 23 Jul 2015 19:50:32 +0000 (12:50 -0700)]
Add ACCESS_COARSE_LOCATION to Bluetooth.

Bug: 22713866
Change-Id: Idb53b0e9e877221cea3e4af3c8c7c4db51616105

8 years agoam e8e870c2: Return no track selected if no track is currently selected.
beryl hou [Fri, 24 Jul 2015 18:03:13 +0000 (18:03 +0000)]
am e8e870c2: Return no track selected if no track is currently selected.

* commit 'e8e870c24930f9b687572dbb80614e5aad6fbdfa':
  Return no track selected if no track is currently selected.

8 years agoReturn no track selected if no track is currently selected.
beryl hou [Fri, 3 Jul 2015 11:39:29 +0000 (19:39 +0800)]
Return no track selected if no track is currently selected.

Fix to satisfy AVRCP 1.4 spec.
In EVENT_TRACK_CHANGED response request,
if a track is selected , then return 0x0 in the response.
if no track currently selected,then return 0xFFFFFFFFFFFFFFFF in the INTERIN response.

Bug: 22519285

Change-Id: Iaaae1d4acf918049d99c27d9ad98bde15242ade1

8 years agoam ca8db073: Merge "Enforce location permission for apps targeting M" into mnc-dev
Fyodor Kupolov [Thu, 23 Jul 2015 19:20:57 +0000 (19:20 +0000)]
am ca8db073: Merge "Enforce location permission for apps targeting M" into mnc-dev

* commit 'ca8db07314e44453d807e6afeb8eb4eef303ee85':
  Enforce location permission for apps targeting M

8 years agoam 976a53f0: PBAP: Fixes for proper working of filter functionality.
Hemant Gupta [Thu, 23 Jul 2015 19:20:55 +0000 (19:20 +0000)]
am 976a53f0: PBAP: Fixes for proper working of filter functionality.

* commit '976a53f0f946e589aa2b5204ce3262abcf2afc55':
  PBAP: Fixes for proper working of filter functionality.

8 years agoMerge "Enforce location permission for apps targeting M" into mnc-dev
Fyodor Kupolov [Thu, 23 Jul 2015 17:22:30 +0000 (17:22 +0000)]
Merge "Enforce location permission for apps targeting M" into mnc-dev

8 years agoPBAP: Fixes for proper working of filter functionality.
Hemant Gupta [Wed, 24 Jun 2015 14:55:27 +0000 (20:25 +0530)]
PBAP: Fixes for proper working of filter functionality.

The change consists of fixes required for the filter to work properly.

Without this change the API isFilteredOut() was basically removing those
attributes which are set in the filter while the expected behaviour is other
way round, so renamed the API to isFilteredIn().
This patch also adds provision for filtering call log date and time when
it is not been asked as per the filter since it is not a mandatory attribute
as per the PBAP specification.
This patch also renames "NOTES" to "NOTE" which was incorrect property for
vcards.

Bug: 20077258
Change-Id: Ifbe57706b86031cbb9656556843da1bab700ef5d

8 years agoEnforce location permission for apps targeting M
Fyodor Kupolov [Wed, 22 Jul 2015 01:41:45 +0000 (18:41 -0700)]
Enforce location permission for apps targeting M

Enforce location permission for apps targeting M, for legacy apps, log an
error.

Bug: 21852542
Change-Id: Ic406df1727eb0939531a22b76c2df9b13f03ec81

8 years agoam 51b7ab3d: Merge "Remove extra logging with privacy info" into mnc-dev
Chenjie Luo [Wed, 15 Jul 2015 21:43:17 +0000 (21:43 +0000)]
am 51b7ab3d: Merge "Remove extra logging with privacy info" into mnc-dev

* commit '51b7ab3d2d9a166e1fac22ff442ad3221a838c91':
  Remove extra logging with privacy info

8 years agoMerge "Remove extra logging with privacy info" into mnc-dev
Chenjie Luo [Wed, 15 Jul 2015 17:16:03 +0000 (17:16 +0000)]
Merge "Remove extra logging with privacy info" into mnc-dev

8 years agoam 273303e7: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 16:25:23 +0000 (16:25 +0000)]
am 273303e7: (-s ours) Import translations. DO NOT MERGE

* commit '273303e7c0a0d1fe0493ed327070aeb8fb80c808':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 16:13:32 +0000 (09:13 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam ea823170: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 14:40:17 +0000 (14:40 +0000)]
am ea823170: (-s ours) Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 14:25:01 +0000 (07:25 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jul 2015 14:24:31 +0000 (07:24 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam e451efd4: Merge "Fix String alignment in BT Settings in Hebrew locale." into mnc-dev
Sanket Padawe [Wed, 15 Jul 2015 02:14:07 +0000 (02:14 +0000)]
am e451efd4: Merge "Fix String alignment in BT Settings in Hebrew locale." into mnc-dev

* commit 'e451efd492dba5cb252faeff8f7fe6e1b5ba0fdc':
  Fix String alignment in BT Settings in Hebrew locale.

8 years agoMerge "Fix String alignment in BT Settings in Hebrew locale." into mnc-dev
Sanket Padawe [Wed, 15 Jul 2015 02:01:48 +0000 (02:01 +0000)]
Merge "Fix String alignment in BT Settings in Hebrew locale." into mnc-dev

8 years agoam 3d7dd623: Merge "Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast" into...
Fyodor Kupolov [Wed, 15 Jul 2015 01:43:03 +0000 (01:43 +0000)]
am 3d7dd623: Merge "Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast" into mnc-dev

* commit '3d7dd623a385d678f2f5397500be92709aef5d1a':
  Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast

8 years agoMerge "Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast" into mnc-dev
Fyodor Kupolov [Wed, 15 Jul 2015 01:34:37 +0000 (01:34 +0000)]
Merge "Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast" into mnc-dev

8 years agoRequire ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast
Fyodor Kupolov [Tue, 14 Jul 2015 18:31:28 +0000 (11:31 -0700)]
Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast

Receivers of ACTION_FOUND intent are now required to have
ACCESS_COARSE_LOCATION permission.

Bug: 21852542
Change-Id: Ia3bca7e9cd117536a3eb4f4d1fe405604b2ff40f

8 years agoRemove extra logging with privacy info
Chenjie Luo [Tue, 14 Jul 2015 23:51:19 +0000 (16:51 -0700)]
Remove extra logging with privacy info

Bug: 22075764
Change-Id: Id2f1c0d1660abd0c18de46c64596fc1a17b974ce

8 years agoFix String alignment in BT Settings in Hebrew locale.
Sanket Padawe [Tue, 14 Jul 2015 21:16:41 +0000 (14:16 -0700)]
Fix String alignment in BT Settings in Hebrew locale.

Bug: 22213885
Change-Id: I3ce35487fff306fad2554e5f9980dfde509eeb84

8 years agoam a83cb18c: Merge "Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is...
Amit Mahajan [Mon, 13 Jul 2015 23:03:35 +0000 (23:03 +0000)]
am a83cb18c: Merge "Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used" into mnc-dev

* commit 'a83cb18c70bf159cd03bfdc20c54f299309520c6':
  Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used

8 years agoam 2e311eab: Disable SAP profile by default
Andre Eisenbach [Mon, 13 Jul 2015 23:01:58 +0000 (23:01 +0000)]
am 2e311eab: Disable SAP profile by default

* commit '2e311eabf558760b5ee04f50e5ad2adee9d68ff9':
  Disable SAP profile by default

8 years agoam 7100f0cb: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Jul 2015 23:00:40 +0000 (23:00 +0000)]
am 7100f0cb: (-s ours) Import translations. DO NOT MERGE

* commit '7100f0cb8965dd364f8f11732ff4d644f476a1b4':
  Import translations. DO NOT MERGE

8 years agoMerge "Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used"...
Amit Mahajan [Mon, 13 Jul 2015 22:06:03 +0000 (22:06 +0000)]
Merge "Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used" into mnc-dev

8 years agoDisable SAP profile by default
Andre Eisenbach [Mon, 13 Jul 2015 15:42:02 +0000 (08:42 -0700)]
Disable SAP profile by default

Enable profile support in platform specific overlays.

Bug: 22436494
Change-Id: I09ce4460043da9746e45d384abe11d8d5eed4a2f

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 16:49:05 +0000 (09:49 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Sat, 11 Jul 2015 14:05:57 +0000 (07:05 -0700)]
Import translations. DO NOT MERGE

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

8 years agoRemoving READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used
Amit Mahajan [Sat, 11 Jul 2015 00:17:51 +0000 (17:17 -0700)]
Removing READ_PHONE_STATE perm since PRIVILEGED_PHONE_STATE is also used

Bug: 22376654
Change-Id: I437f9bf324950cb70bae5be76699824da5897a6f

8 years agoPBAP: New Missed calls parameter not set correctly
kschulz [Wed, 19 Feb 2014 07:39:51 +0000 (08:39 +0100)]
PBAP: New Missed calls parameter not set correctly

When a PCE pull the missed-calls-phonebook (mch.vcf) from the PSE, a parameter
stating the number of _new_ missed calls must be included in the reply.
Currently the parameter is included but it is always set to zero, which is
incorrect.
This fix corrects the variable used for new missed calls

Bug: 13022843
Change-Id: I6094c50a76711cfff9347596d70ac2300cfbb543

8 years agoMerge "Do not return devices when caller has no location permission" into mnc-dev
Fyodor Kupolov [Thu, 9 Jul 2015 21:43:01 +0000 (21:43 +0000)]
Merge "Do not return devices when caller has no location permission" into mnc-dev

8 years agoMerge "Make string to plurals in BT inbound/outbound notification." into mnc-dev
Sanket Padawe [Thu, 9 Jul 2015 20:48:46 +0000 (20:48 +0000)]
Merge "Make string to plurals in BT inbound/outbound notification." into mnc-dev

8 years agoMerge "Make some BT screens RTL aligned in RTL context." into mnc-dev
Sanket Padawe [Thu, 9 Jul 2015 20:47:47 +0000 (20:47 +0000)]
Merge "Make some BT screens RTL aligned in RTL context." into mnc-dev

8 years agoMake string to plurals in BT inbound/outbound notification.
Sanket Padawe [Thu, 9 Jul 2015 18:42:42 +0000 (11:42 -0700)]
Make string to plurals in BT inbound/outbound notification.

Bug: 22215773
Change-Id: I21d06ec7839fdb4e1ba9b5a70c6ac7791788eb4f

8 years agoSet the Bluetooth state to OFF if there is disable timeout error
Pavlin Radoslavov [Wed, 8 Jul 2015 01:08:46 +0000 (18:08 -0700)]
Set the Bluetooth state to OFF if there is disable timeout error

Previously, if there was "disable timeout" error during Bluetooth
shutdown, the Bluetooth state was set back to ON. However, the
internal Bluetooth stack runtime state was cleaned-up and
practically unusable.

The solution is not to re-enable Bluetooth if there is a
"disable timeout" error.

Bug: 21873347
Change-Id: I561683fa391f7bacbb1aa8f80d8f6583c7d3099c

8 years agoMake some BT screens RTL aligned in RTL context.
Sanket Padawe [Thu, 9 Jul 2015 01:50:29 +0000 (18:50 -0700)]
Make some BT screens RTL aligned in RTL context.

Bug: 22288056
Bug: 22285480
Change-Id: I9be944e8d28c93dc1eabe6b03cd6b69692d0c105

8 years agoMerge "Locale based string alignment changes in BT." into mnc-dev
Sanket Padawe [Wed, 8 Jul 2015 17:17:43 +0000 (17:17 +0000)]
Merge "Locale based string alignment changes in BT." into mnc-dev

8 years agoMerge "Locale based string changes in BT." into mnc-dev
Sanket Padawe [Wed, 8 Jul 2015 17:16:53 +0000 (17:16 +0000)]
Merge "Locale based string changes in BT." into mnc-dev

8 years agoLocale based string alignment changes in BT.
Sanket Padawe [Tue, 7 Jul 2015 23:32:42 +0000 (16:32 -0700)]
Locale based string alignment changes in BT.

Bug: 22218258
Change-Id: Id2e1cf9a653ce58619d5c5bea2d62868f3f1e517

8 years agoLocale based string changes in BT.
Sanket Padawe [Tue, 7 Jul 2015 21:53:48 +0000 (14:53 -0700)]
Locale based string changes in BT.

Bug: 22215965
Change-Id: I9847f3faa49ac60efeeb576d8d604483cebcc052

8 years agoUpdate UI properly in Connection race Conditions.
Anubhav Gupta [Wed, 4 Sep 2013 10:37:41 +0000 (16:07 +0530)]
Update UI properly in Connection race Conditions.

Broadcast connection state of incoming device in pending
state and update UI for disconnection of outgoing connection.
This change in conjunction with bluedroid change handles
race condition scenarios when incoming and outgoing A2dp
connections collides.

Bug: 22028876
Change-Id: Ibd80fc7010613887df74fb1903b16de73c77939a

8 years agoDo not return devices when caller has no location permission
Fyodor Kupolov [Fri, 19 Jun 2015 22:36:44 +0000 (15:36 -0700)]
Do not return devices when caller has no location permission

In onScanResult, skip a device if calling process has no location
permission/appop

Bug: 21852542
Change-Id: I4e3511b33d69d94c1df6e1bf2f9a351303a90685

8 years agoAdd READ_PRIVILEGED_PHONE_STATE permission to manifest
Andre Eisenbach [Mon, 29 Jun 2015 18:11:58 +0000 (11:11 -0700)]
Add READ_PRIVILEGED_PHONE_STATE permission to manifest

Bug: 22093842
Change-Id: I0410b9b2f82b7471989ac3857abf6ffa2e106015

8 years agoSend ACTION_ALIAS_CHANGED when remote device alias is changed
Andre Eisenbach [Wed, 24 Jun 2015 17:45:44 +0000 (10:45 -0700)]
Send ACTION_ALIAS_CHANGED when remote device alias is changed

Bug: 20341903
Change-Id: I6e9dbeb1d05bdcce56fab63ccdd701138c99f5a0

8 years agoSends bond state change intent for unbonding a device
Subramanian Srinivasan [Fri, 31 Jan 2014 02:51:42 +0000 (18:51 -0800)]
Sends bond state change intent for unbonding a device

When remove bond API is called from the stack layer,
the bond state change intent is not sent in the
upper layers to unbond a device.

Change-Id: I515bfaf3f1a575106b10e2f688b1e9de58770b87

8 years agoPBAP: Add support for PBAP 1.1.1 specification
Hemant Gupta [Tue, 28 Apr 2015 12:15:17 +0000 (17:45 +0530)]
PBAP: Add support for PBAP 1.1.1 specification

This patch adds support for erratas to make the specification version
compatible to PBAP 1.1.1 specification.

Following errata needs to be supported to make the specification version
compatible to PBAP 1.1.1

   https://www.bluetooth.org/errata/errata_view.cfm?errata_id=1824

   Proposed modification to the text of the spec:
   5.3.3 Name
     This is the name of the folder to be retrieved. The value shall not include
     any path information, since the PullvCardListing function uses relative paths.
     An empty name header may be sent to retrieve the vCard Listing object of the
     current folder. However, it is illegal to issue a PullvCardListing request with
     an emtpy name header from the telecom/ folder.
     Any such request shall be responded to with a "Not Found" error message.

Bug: 21896912
Change-Id: I0fb2c7d96b6e34d0bf83bb62901a8fd47c470fe6

8 years agoFix compile errors due to OPP merge
Andre Eisenbach [Tue, 23 Jun 2015 19:23:53 +0000 (12:23 -0700)]
Fix compile errors due to OPP merge

Change-Id: Ia07d99d58785c7e974b1fb32afaeb157ad337932

8 years agoDisplay proper file name while cancelling transfer
Pradeep Panigrahi [Thu, 29 Aug 2013 06:04:03 +0000 (11:34 +0530)]
Display proper file name while cancelling transfer

Use Case:
1) Send files in batch from remote to DUT
2) Cancel the transfer in between from either side.
3) Check name of the files in failed tranfer message.

Failure:
Name shown in the failure message is different than actual file
name in batch

Fix:
Save names of all the selected files to be transferred even
before starting of client thread so that names remain intact
in the outbound information even when the batch is cancelled
from initiator.

Bug: 21896912
Change-Id: I42c98721365c4c8acb746d49ba9ceff5b0737b71

8 years agoAcquire the full wakelock only during user confirmation request
Pradeep Panigrahi [Tue, 27 Jan 2015 04:14:00 +0000 (09:44 +0530)]
Acquire the full wakelock only during user confirmation request

Use Case:
1. Create obex connection from remote to DUT.
2. Dont transfer any file and wait for the screentimeout.
3. Check if device goes to suspend.

Failure:
Device does not go to suspend mode if OPP connection is present.

Root Cause:
Acquire the full wakelock when user confirmation is required and
not during opp connection request.

Fix:
Obex server session will acquire the full wakelock only when user
confirmation is required. Otherwise, if session acquires the full
wakelock during connect request and did not receives the PUT
request from remote full wakelock will not be released. In this
scenario DUT will not go to suspend and cause battery drain.

Bug: 21896912
Change-Id: I17b90b206016c2a34d724393ac3b17a41983722c

8 years agoUse long as file size instead of int while using OPP.
Pradeep Panigrahi [Fri, 5 Jun 2015 05:27:03 +0000 (10:57 +0530)]
Use long as file size instead of int while using OPP.

Use Case:
1. Pair and connect to Dongle
2. Send a 2GB file from Dongle to DUT.

Failure:
File transfer failed in between.

Fix:
This patch fixes issue of problems in sending/receiving files
which cannot be accomodated in int type of Java. Instead of using
int, long data type is used, which can hold 64 bits data size in JAVA
which is suitable for storing file sizes in GB. Changes are done
in how updates are sent to progress bar which supports only int
by using the percentage of data transferred to update the progress.

Bug: 21896912
Change-Id: I49f9bf8a4a0e3668e32058d582a2700b0e6057e8

8 years agoMark proper file transfer status upon OBEX response timeout
Pradeep Panigrahi [Thu, 29 Aug 2013 04:03:24 +0000 (09:33 +0530)]
Mark proper file transfer status upon OBEX response timeout

Use Case:
1) Pair with remote dongle and send a file over OPP.
2) Reset dongle such that there is obex response timeout.

Failure:
File transfer status is not marked a failed and hence cannot be retried

Fix:
This patch will handle the scenario of obex timeout which occurs due
to cancelling the transfer in between and trying sending again.

Bug: 21896912
Change-Id: Ide1a64e5874bda2c5cf71531f5971bc8bebf5e9f

8 years agoAvoid sending TRANSFER_COMPLETED_ACTION intent multiple times.
Pradeep Panigrahi [Wed, 29 Jan 2014 06:13:58 +0000 (11:43 +0530)]
Avoid sending TRANSFER_COMPLETED_ACTION intent multiple times.

Use Case:
1. Share a picture through Bluetooth, select partner devices.
2. The partner devices do not confirm to receive the file.
3. Check the transfer status on the DUT.

Failure:
Failure Notification pops up twice when the shared files not
received by the partner phone

Fix:
This change ensure that TRANSFER_COMPLETED_ACTION intent will not
sent to receiver if there is any exception occurred during OPP
operation because this intent is already sent to receiver from message
handler.

Bug: 22028876
Change-Id: I3ad2f24be185c37355dff43009a5236bede0106a

8 years agoCheck for AVRCP handler validity before cleanup
Anubhav Gupta [Tue, 3 Feb 2015 06:30:00 +0000 (12:00 +0530)]
Check for AVRCP handler validity before cleanup

In stress testing of BT on-off usecase, crash was observed
due to triggering double clean-up. This fix introduces
additional Check for handler validity while clean-up to
avoid the crash.

Bug: 21896912
Change-Id: I14b1c35d1fa0345c59d61682d92795aa617436b5

8 years agoFix issue #20494208: Go out of device idle when headset button is pressed
Dianne Hackborn [Fri, 19 Jun 2015 23:23:28 +0000 (16:23 -0700)]
Fix issue #20494208: Go out of device idle when headset button is pressed

We tell the device idle controller to go out of idle before
starting the voice command activity.

Change-Id: I41900518af61f0cb477ec56eaebfe798c69512f9

8 years agoDO NOT MERGE: Remove DayNight theme
Alan Viverette [Thu, 18 Jun 2015 21:55:33 +0000 (14:55 -0700)]
DO NOT MERGE: Remove DayNight theme

Bug: 21854466
Change-Id: I85b8e78d0e6adf3ad2046c803ea45aba9eb2c3ca

8 years agoRevert "Disable Bluetooth profiles that are not used on Clockwork."
Andre Eisenbach [Wed, 17 Jun 2015 21:21:18 +0000 (14:21 -0700)]
Revert "Disable Bluetooth profiles that are not used on Clockwork."

Breaks every other platform... BAD AUTOMERGER, BAAAD...

This reverts commit 6675e069ec19582de75a754d57a0ff78306752dd.

8 years agoam 29acf6cd: am 6675e069: Disable Bluetooth profiles that are not used on Clockwork.
Sharvil Nanavati [Tue, 16 Jun 2015 21:49:52 +0000 (21:49 +0000)]
am 29acf6cd: am 6675e069: Disable Bluetooth profiles that are not used on Clockwork.

* commit '29acf6cd655486214a7bff44f27a1ad7e465cb75':
  Disable Bluetooth profiles that are not used on Clockwork.

8 years agoam 6675e069: Disable Bluetooth profiles that are not used on Clockwork.
Sharvil Nanavati [Tue, 16 Jun 2015 21:40:13 +0000 (21:40 +0000)]
am 6675e069: Disable Bluetooth profiles that are not used on Clockwork.

* commit '6675e069ec19582de75a754d57a0ff78306752dd':
  Disable Bluetooth profiles that are not used on Clockwork.

8 years agoMerge "Make address type agnostic in mac address scan filtering." into mnc-dev
Wei Wang [Tue, 16 Jun 2015 01:11:37 +0000 (01:11 +0000)]
Merge "Make address type agnostic in mac address scan filtering." into mnc-dev

8 years agoFix overflow in energy calculation
Adam Lesinski [Tue, 16 Jun 2015 00:42:28 +0000 (17:42 -0700)]
Fix overflow in energy calculation

The energy value can get quite high, so use longs.

Change-Id: Ib03c07160339c82a834ea94fe155a65f0efb03d2

8 years agoMake address type agnostic in mac address scan filtering.
Wei Wang [Sat, 13 Jun 2015 01:27:29 +0000 (18:27 -0700)]
Make address type agnostic in mac address scan filtering.

b/20187218

Change-Id: I2349c9ca2cd1186ceff98f3eb42b6ecba9da002e

8 years agoRemoved AVRCP-related log messages that could fill-up the log.
Pavlin Radoslavov [Sat, 13 Jun 2015 00:49:02 +0000 (17:49 -0700)]
Removed AVRCP-related log messages that could fill-up the log.

For some Bluetooth devices, the AVRCP interaction could trigger
periodic log messages at INFO level, and those messages can
fill-up the log file.

Bug: 21818725
Change-Id: I87aca499138b46a79f4251d8a5fe8552ae171205

8 years agoMerge "Enforce permission check in BLE scan only mode." into mnc-dev
Wei Wang [Fri, 12 Jun 2015 20:59:15 +0000 (20:59 +0000)]
Merge "Enforce permission check in BLE scan only mode." into mnc-dev

8 years agoEnforce permission check in BLE scan only mode.
Wei Wang [Thu, 11 Jun 2015 23:09:57 +0000 (16:09 -0700)]
Enforce permission check in BLE scan only mode.

Bug:21494402
Change-Id: I3d5d6e87bb8aef8760aa4087559abfeebabb42b1

8 years agoDisable Bluetooth profiles that are not used on Clockwork.
Sharvil Nanavati [Fri, 12 Jun 2015 18:19:18 +0000 (11:19 -0700)]
Disable Bluetooth profiles that are not used on Clockwork.

Change-Id: Ib46a5f6882712f6d5598e6d1a7165fc7737da832

9 years agoSAP: turn debugging and test flags off
Kim Schulz [Mon, 8 Jun 2015 13:37:04 +0000 (15:37 +0200)]
SAP: turn debugging and test flags off

Currently DEBUG, VERBOSE and PTS_TEST_MODE is on as a default.
There is no reason for that in production code (except for during test
where the code needs to go through PTS test)

Bug: 21692162
Change-Id: Id092a79959fa38608d06755cc43148eee9ec3e00

9 years agoSAP: Make it possible to enforce a 16-digit pin code (3/5)
Casper Bonde [Fri, 8 May 2015 12:21:12 +0000 (14:21 +0200)]
SAP: Make it possible to enforce a 16-digit pin code (3/5)

This change enable the posibility to enforce using a
16-digit pin or MITM for a RFCOMM or L2CAP connection.

This is needed for the SIM access profile.

Change-Id: I42ada9b36d24d43697a2010eccbc0103f15af77d
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
9 years agoHandle SLC in MultiHFPending state
Mallikarjuna GB [Thu, 4 Jun 2015 11:29:39 +0000 (16:59 +0530)]
Handle SLC in MultiHFPending state

Use case:
Connect 2 headsets one after another in quick
succession.

Failure:
SLC for first headset is not happening.

Root cause:
SLC for first headset is not handled when second
headset is connecting.

Fix:
Add handling for SLC event for HS1 in MultiHFPending state.

Change-Id: If0c2553c28e233bea4622fca10c94fddd913afa7

9 years agoAdd null checks
Mallikarjuna GB [Thu, 2 Apr 2015 11:17:15 +0000 (16:47 +0530)]
Add null checks

Added null checks identified by static analysis tool.

Change-Id: I5ff04775313b06d549c5ae97e497dd44e9231b04

9 years agoHandle SCO volume change in multihfpending state.
Mallikarjuna GB [Thu, 4 Jun 2015 11:45:40 +0000 (17:15 +0530)]
Handle SCO volume change in multihfpending state.

Use case:
1. Connect one headset.
2. Make MO/MT call.
3. While connecting second headset, change
   call volume on the phone.

Failure:
SCO volume changed is not updated to first headset.

Root cause:
Volume change is not handled in MultHFPending state.

Fix:
Added handling volume change in MultiHFPending state.

Change-Id: I6ac3cb2968b99de194fa7c0114d45f9d81dcb663

9 years agoHandle multiple BLDN commands from headset
Mallikarjuna GB [Fri, 22 May 2015 11:03:25 +0000 (16:33 +0530)]
Handle multiple BLDN commands from headset

When multiple AT+BLDN commands are received
from headset, return ERROR if dialling process
is started for the first AT+BLDN.

Change-Id: I603eb5c5ccdd5f8606a355e5d464e6493d1e7fd9