OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoMerge "Log permission check failure as warning" into nyc-dev am: 7a94490 am: dba1718
Jakub Pawlowski [Tue, 26 Apr 2016 18:32:00 +0000 (18:32 +0000)]
Merge "Log permission check failure as warning" into nyc-dev am: 7a94490 am: dba1718
am: 446ffc7

* commit '446ffc734c566e49758b46218c624a0c94c1fc0d':

Change-Id: I4c41b93c6b34a67f4efb8e35a6c56823e1ca6fb1

8 years agoAbsolute volume: Black list device if remote can\'t change volume am: 2583f09 am...
Liejun Tao [Tue, 26 Apr 2016 18:32:00 +0000 (18:32 +0000)]
Absolute volume: Black list device if remote can\'t change volume am: 2583f09 am: 4b928b2
am: 227408c

* commit '227408c7770db449d2b061703220dbfee7165256':

Change-Id: I9137af4c5e633a49cc93fee96e30c47b382248a1

8 years agoMerge "Log permission check failure as warning" into nyc-dev am: 7a94490 am: b6f5bd6
Jakub Pawlowski [Tue, 26 Apr 2016 18:32:00 +0000 (18:32 +0000)]
Merge "Log permission check failure as warning" into nyc-dev am: 7a94490 am: b6f5bd6
am: 25a36f3

* commit '25a36f32887131383e30046384583a17d283e2c0':
  Log permission check failure as warning

Change-Id: I14394ddda6f1b89ed44293fbd8be8d7dd1ba6d17

8 years agoAbsolute volume: Black list device if remote can\'t change volume am: 2583f09 am...
Liejun Tao [Tue, 26 Apr 2016 18:32:00 +0000 (18:32 +0000)]
Absolute volume: Black list device if remote can\'t change volume am: 2583f09 am: 6ce245b
am: 5a6f31e

* commit '5a6f31eb63d41ae8ee04065e98eb2f192748a647':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I1b751a12210f349f1966023aa2ac1306541ae8ce

8 years agoMerge "Log permission check failure as warning" into nyc-dev am: 7a94490
Jakub Pawlowski [Tue, 26 Apr 2016 18:31:46 +0000 (18:31 +0000)]
Merge "Log permission check failure as warning" into nyc-dev am: 7a94490
am: dba1718

* commit 'dba17180bf4e9c25ec87f62dc20ea54a281b5e22':

Change-Id: I8cfd4b31a2be0040e4922769697bf545b8319a5b

8 years agoAbsolute volume: Black list device if remote can\'t change volume am: 2583f09
Liejun Tao [Tue, 26 Apr 2016 18:31:46 +0000 (18:31 +0000)]
Absolute volume: Black list device if remote can\'t change volume am: 2583f09
am: 4b928b2

* commit '4b928b2d9c9b846ea7638600a6b8677a9a57c908':

Change-Id: I29a377ffa7dbd427d55126005a4362c88a8540b2

8 years agoMerge "Log permission check failure as warning" into nyc-dev am: 7a94490
Jakub Pawlowski [Tue, 26 Apr 2016 18:28:48 +0000 (18:28 +0000)]
Merge "Log permission check failure as warning" into nyc-dev am: 7a94490
am: b6f5bd6

* commit 'b6f5bd6970ca3e98b71d8c985aff76d700852da1':
  Log permission check failure as warning

Change-Id: Ic419020f67c37609ca0d63280ece4bef62aa3b5e

8 years agoAbsolute volume: Black list device if remote can\'t change volume am: 2583f09
Liejun Tao [Tue, 26 Apr 2016 18:28:48 +0000 (18:28 +0000)]
Absolute volume: Black list device if remote can\'t change volume am: 2583f09
am: 6ce245b

* commit '6ce245b9aa1556df12e51ece8bdbf408df3e7a0b':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I9c17a8a93bde8ebaaa5fa140beb148bf660ae144

8 years agoMerge "Log permission check failure as warning" into nyc-dev
Jakub Pawlowski [Tue, 26 Apr 2016 18:28:09 +0000 (18:28 +0000)]
Merge "Log permission check failure as warning" into nyc-dev
am: 7a94490

* commit '7a9449022d3ea672b96062df7a16d9259b2a66f0':
  Log permission check failure as warning

Change-Id: Iaa81b40dbfc2f4fa7ab265e157d21664cee796ec

8 years agoAbsolute volume: Black list device if remote can\'t change volume
Liejun Tao [Tue, 26 Apr 2016 18:28:09 +0000 (18:28 +0000)]
Absolute volume: Black list device if remote can\'t change volume
am: 2583f09

* commit '2583f09407c8265c12d198d408692c75eabf22a3':
  Absolute volume: Black list device if remote can't change volume

Change-Id: Ib163083717c7caeb90bd87389c0a90495a8b4bdf

8 years agoMerge "Log permission check failure as warning" into nyc-dev
Jakub Pawlowski [Tue, 26 Apr 2016 18:23:52 +0000 (18:23 +0000)]
Merge "Log permission check failure as warning" into nyc-dev
am: 7a94490

* commit '7a9449022d3ea672b96062df7a16d9259b2a66f0':
  Log permission check failure as warning

Change-Id: I6d700e26a443a3c6496cc9148eba840544558d52

8 years agoMerge "Log permission check failure as warning" into nyc-dev
Jakub Pawlowski [Tue, 26 Apr 2016 18:20:41 +0000 (18:20 +0000)]
Merge "Log permission check failure as warning" into nyc-dev

8 years agoAbsolute volume: Black list device if remote can\'t change volume
Liejun Tao [Tue, 26 Apr 2016 18:17:26 +0000 (18:17 +0000)]
Absolute volume: Black list device if remote can\'t change volume
am: 2583f09

* commit '2583f09407c8265c12d198d408692c75eabf22a3':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I1dd27493c5708f4d79e4134cfb00fe17d90b85f3

8 years agoMerge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b...
Treehugger Robot [Tue, 26 Apr 2016 17:43:18 +0000 (17:43 +0000)]
Merge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b am: 82e7f6b am: a664da8
am: d04363e

* commit 'd04363e38cd3528330825392e311a007b3efcb60':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I6ff9fcdbc9c62de3ed845d93ff16901a09b86bfd

8 years agoMerge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b...
Liejun Tao [Tue, 26 Apr 2016 17:33:06 +0000 (17:33 +0000)]
Merge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b am: 82e7f6b
am: a664da8

* commit 'a664da8ab16e09bae6c25d015d13222bc6065c39':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I7bdf65a1aa3cad244c29f958fcb25eead1f5b6ed

8 years agoMerge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b
Treehugger Robot [Tue, 26 Apr 2016 17:26:05 +0000 (17:26 +0000)]
Merge "Absolute volume: Black list device if remote can\'t change volume" am: 0af237b
am: 82e7f6b

* commit '82e7f6b9d8acd290134a1b7b9eaea7077526dd35':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I4ae92f84e1915c7b13acd16bfd4015fe1f86b992

8 years agoMerge "Absolute volume: Black list device if remote can\'t change volume"
Liejun Tao [Tue, 26 Apr 2016 17:22:46 +0000 (17:22 +0000)]
Merge "Absolute volume: Black list device if remote can\'t change volume"
am: 0af237b

* commit '0af237b682f07456c427108675115ed6cea1867e':
  Absolute volume: Black list device if remote can't change volume

Change-Id: I682269b2de70af42c86458c2bb6a9639ce207189

8 years agoMerge "Absolute volume: Black list device if remote can't change volume"
Treehugger Robot [Tue, 26 Apr 2016 17:13:50 +0000 (17:13 +0000)]
Merge "Absolute volume: Black list device if remote can't change volume"

8 years agoAbsolute volume: Black list device if remote can't change volume
Liejun Tao [Wed, 9 Mar 2016 05:04:17 +0000 (23:04 -0600)]
Absolute volume: Black list device if remote can't change volume

If remote device failed to change volume too many times, black list it
to avoid using Absolute volume feature.

Bug: 26694114
Change-Id: Idb7a772b0ef936b2351bfc92722ec3c0d748822c

8 years agoAbsolute volume: Black list device if remote can't change volume
Liejun Tao [Wed, 9 Mar 2016 05:04:17 +0000 (23:04 -0600)]
Absolute volume: Black list device if remote can't change volume

If remote device failed to change volume too many times, black list it
to avoid using Absolute volume feature.

Bug: 26694114
Change-Id: Idb7a772b0ef936b2351bfc92722ec3c0d748822c

8 years agoLog permission check failure as warning
Jakub Pawlowski [Tue, 26 Apr 2016 16:13:09 +0000 (09:13 -0700)]
Log permission check failure as warning

Currently when permission check fails, there is no way for users to see
what went wrong. This patch fixes that by providing better log message.

Bug: 28328321
Change-Id: I11f336c6c0560c4be482fefefaf95b70a06a63d6

8 years agoMerge "A2DP MediaSession active state management and NPE"
TreeHugger Robot [Sat, 23 Apr 2016 01:24:09 +0000 (01:24 +0000)]
Merge "A2DP MediaSession active state management and NPE"

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev am...
Ajay Panicker [Sat, 23 Apr 2016 00:17:41 +0000 (00:17 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev am: e062a53 am: 542d334
am: bba7543

* commit 'bba7543785511b244ba74d32a3233abdb795a1c1':

Change-Id: I4aee551a8534e628beb2c586571960567584f1eb

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev am...
Ajay Panicker [Sat, 23 Apr 2016 00:17:41 +0000 (00:17 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev am: e062a53 am: d491dd7
am: eff657e

* commit 'eff657e3d4e4b357e7118a4cf90dcfd204d5e976':
  Properly label app as unregistered and add NPE protection

Change-Id: I871c144feefdb9e598f205d12d2a98966b7cc85a

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev am...
Ajay Panicker [Sat, 23 Apr 2016 00:02:04 +0000 (00:02 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev am: e062a53
am: 542d334

* commit '542d334a4902c65078acda1190fa9da4a2435d4a':

Change-Id: I3b9d8c022d8cf6d75172f17926b44b2d45c46c9b

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev am...
Ajay Panicker [Sat, 23 Apr 2016 00:01:37 +0000 (00:01 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev am: e062a53
am: d491dd7

* commit 'd491dd7b0360331fa78e73273e68389af116da00':
  Properly label app as unregistered and add NPE protection

Change-Id: Id4e77b82944f4336ca27f456de9e2d255e49ab5f

8 years agoA2DP MediaSession active state management and NPE
Sanket Agarwal [Fri, 22 Apr 2016 20:06:24 +0000 (13:06 -0700)]
A2DP MediaSession active state management and NPE

UIs (such as SystemUI) depend on MediaSession.isActive state to
determine whether to show it on the overview (or shades). Currently we
are keeping the session active ever since the first bluetooth connect (A2DP) happens.

This change makes the session to be active when the device connects and
the first play happens (i.e. the play state of remote device
irrespective of who initated it) and in-active when device disconnects.

Also, avoid a NPE that may happen due to races between delay in
broadcasts and accesing bluetooth state machine.

Bug: b/28345602
Bug: b/28330860

Change-Id: Id7686308ada0b608b959258d137772ee5f24c18f
(cherry picked from commit faa30bec93650414fb90b60b5a488b32dd54b9ac)

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev
Ajay Panicker [Fri, 22 Apr 2016 23:47:42 +0000 (23:47 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev
am: e062a53

* commit 'e062a53f929cfbb90a81c966f1e1b207510247f3':
  Properly label app as unregistered and add NPE protection

Change-Id: I0cd7d94ad119e95bb2a65e4d10cd2fe48abd9ad8

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev
Ajay Panicker [Fri, 22 Apr 2016 23:47:15 +0000 (23:47 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev
am: e062a53

* commit 'e062a53f929cfbb90a81c966f1e1b207510247f3':
  Properly label app as unregistered and add NPE protection

Change-Id: I257b811c9fcfc3f4e4516701091f9d810682b64e

8 years agoMerge "Properly label app as unregistered and add NPE protection" into nyc-dev
Ajay Panicker [Fri, 22 Apr 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Properly label app as unregistered and add NPE protection" into nyc-dev

8 years agoMerge "Synchronize access to ServiceDeclaration fields. am: f8ecbbb am: a37273e"...
Calvin On [Fri, 22 Apr 2016 22:15:36 +0000 (22:15 +0000)]
Merge "Synchronize access to ServiceDeclaration fields. am: f8ecbbb am: a37273e" into nyc-mr1-dev-plus-aosp
am: 50f1562

* commit '50f1562e1f348d576ed8230dab82616f857ae2aa':

Change-Id: I71d7b8ec09dce9d59552fbabf0ccd4081eaa768b

8 years agoSynchronize access to ServiceDeclaration fields. am: f8ecbbb am: 5576218
Calvin On [Fri, 22 Apr 2016 22:15:35 +0000 (22:15 +0000)]
Synchronize access to ServiceDeclaration fields. am: f8ecbbb am: 5576218
am: 87d0bef

* commit '87d0bef7b77c31d7031ffd433bb6c7d438ea51e5':
  Synchronize access to ServiceDeclaration fields.

Change-Id: I46b300230a47fc96f90719786f7fb51a9d7468a7

8 years agoMerge "Synchronize access to ServiceDeclaration fields. am: f8ecbbb am: a37273e"...
Android Build Merger (Role) [Fri, 22 Apr 2016 21:24:38 +0000 (21:24 +0000)]
Merge "Synchronize access to ServiceDeclaration fields. am: f8ecbbb am: a37273e" into nyc-mr1-dev-plus-aosp

8 years agoSynchronize access to ServiceDeclaration fields. am: f8ecbbb
Calvin On [Fri, 22 Apr 2016 21:24:32 +0000 (21:24 +0000)]
Synchronize access to ServiceDeclaration fields. am: f8ecbbb
am: 5576218

* commit '5576218cafb4a39be3d0e70900d05bca5fbfe9a7':
  Synchronize access to ServiceDeclaration fields.

Change-Id: Iac5477be509e2395b56888fb3bda2bc64f524517

8 years agoSynchronize access to ServiceDeclaration fields. am: f8ecbbb
Calvin On [Fri, 22 Apr 2016 21:24:32 +0000 (21:24 +0000)]
Synchronize access to ServiceDeclaration fields. am: f8ecbbb
am: a37273e

* commit 'a37273e506a477cd2d0cf11e7929420a87c93bda':
  Synchronize access to ServiceDeclaration fields.

Change-Id: Ifd9109fb24ea9917f9322aa768f0541d9f23f587

8 years agoSynchronize access to ServiceDeclaration fields.
Calvin On [Fri, 22 Apr 2016 21:21:58 +0000 (21:21 +0000)]
Synchronize access to ServiceDeclaration fields.
am: f8ecbbb

* commit 'f8ecbbb375c6a41895e0144d8d8cd42587891570':
  Synchronize access to ServiceDeclaration fields.

Change-Id: Ia0fda64b79de8bfcbe49da005364377b44eda25e

8 years agoSynchronize access to ServiceDeclaration fields.
Calvin On [Fri, 22 Apr 2016 21:21:58 +0000 (21:21 +0000)]
Synchronize access to ServiceDeclaration fields.
am: f8ecbbb

* commit 'f8ecbbb375c6a41895e0144d8d8cd42587891570':
  Synchronize access to ServiceDeclaration fields.

Change-Id: I4838d4fd0b7d724de73dcc8ee57c528186f7c254

8 years agoSynchronize access to ServiceDeclaration fields.
Calvin On [Wed, 20 Apr 2016 02:17:50 +0000 (19:17 -0700)]
Synchronize access to ServiceDeclaration fields.

ServiceDeclaration objects are accessed by both the binder thread
(addService, addCharacteristic, etc) and the GattService callback thread
(onServiceAdded, etc) and so must be made thread-safe.

Bug: 28201656
Change-Id: Ic2e4b5c21dafceb62f33738b781f908f502f60b3

8 years agoresolve merge conflicts of ce65d54 to nyc-dev-plus-aosp am: 123e1f3d62
Marie Janssen [Fri, 22 Apr 2016 01:04:36 +0000 (01:04 +0000)]
resolve merge conflicts of ce65d54 to nyc-dev-plus-aosp am: 123e1f3d62
am: 81f1d75f1e

* commit '81f1d75f1e54881c8a5fa59aa4d69d70eae8df78':
  AVRCP: Use MediaController

Change-Id: I801cf073752ecc1c78cf6edd82c2f02eeb2fed1f

8 years agoresolve merge conflicts of ce65d54 to nyc-dev-plus-aosp
Marie Janssen [Fri, 22 Apr 2016 01:02:14 +0000 (01:02 +0000)]
resolve merge conflicts of ce65d54 to nyc-dev-plus-aosp
am: 123e1f3d62

* commit '123e1f3d6252cb5505efaeaffd74c1f3895587df':
  AVRCP: Use MediaController

Change-Id: Ie9c1227cf82e53801b0255a890bafa4d2d8a01f6

8 years agoProperly label app as unregistered and add NPE protection
Ajay Panicker [Wed, 20 Apr 2016 21:14:33 +0000 (14:14 -0700)]
Properly label app as unregistered and add NPE protection

Bug: 28252914
Change-Id: I1e28a9af96bcf0d56914fcc676a8ff85400bc1c4

8 years agoresolve merge conflicts of ce65d54 to nyc-dev-plus-aosp
Marie Janssen [Fri, 22 Apr 2016 00:42:27 +0000 (17:42 -0700)]
resolve merge conflicts of ce65d54 to nyc-dev-plus-aosp

Change-Id: Icce0b121a472fda7d49ff00eb70f73a53ce62b1d

8 years agoMerge "AVRCP: Use MediaController am: 2fc493d0ea am: 3a576f8dac" into nyc-mr1-dev...
Marie Janssen [Fri, 22 Apr 2016 00:30:35 +0000 (00:30 +0000)]
Merge "AVRCP: Use MediaController am: 2fc493d0ea am: 3a576f8dac" into nyc-mr1-dev-plus-aosp
am: 3fe5bcc94e

* commit '3fe5bcc94e3cf4c1703600fda9ad55bb8bb71af3':

Change-Id: Ibffe1e998a743a5aa514772d4db000bba6cdd781

8 years agoAVRCP: Use MediaController am: 2fc493d0ea am: 739879c469
Marie Janssen [Fri, 22 Apr 2016 00:30:35 +0000 (00:30 +0000)]
AVRCP: Use MediaController am: 2fc493d0ea am: 739879c469
am: 5b1a73761b

* commit '5b1a73761bd09c16c211080b88e5ef9e26e1d123':
  AVRCP: Use MediaController

Change-Id: I8d1a3f02a65142615373fa19d124c17b6bf6e8c0

8 years agoMerge "AVRCP: Use MediaController am: 2fc493d0ea am: 3a576f8dac" into nyc-mr1-dev...
Android Build Merger (Role) [Fri, 22 Apr 2016 00:28:20 +0000 (00:28 +0000)]
Merge "AVRCP: Use MediaController am: 2fc493d0ea am: 3a576f8dac" into nyc-mr1-dev-plus-aosp

8 years agoAVRCP: Use MediaController am: 2fc493d0ea
Marie Janssen [Fri, 22 Apr 2016 00:28:14 +0000 (00:28 +0000)]
AVRCP: Use MediaController am: 2fc493d0ea
am: 3a576f8dac

* commit '3a576f8dac142d6ca61c23986ba0697d238877f9':
  AVRCP: Use MediaController

Change-Id: Id75e5f7aaedd6381d1ea9f8fff323c72c1640755

8 years agoAVRCP: Use MediaController am: 2fc493d0ea
Marie Janssen [Fri, 22 Apr 2016 00:28:12 +0000 (00:28 +0000)]
AVRCP: Use MediaController am: 2fc493d0ea
am: 739879c469

* commit '739879c4695ee6c3ee9ae6e306f091dc1a8bf011':
  AVRCP: Use MediaController

Change-Id: Iaabaae1b5a583e4bc158efeb5762ab60997399c2

8 years agoMerge "AVRCP: Use MediaController"
Marie Janssen [Fri, 22 Apr 2016 00:25:57 +0000 (00:25 +0000)]
Merge "AVRCP: Use MediaController"
am: 1adfcb49b7

* commit '1adfcb49b72f62b2b59e54219d0150edf8195695':
  AVRCP: Use MediaController

Change-Id: If2bba78c2642bd4293acd5421b47c6e34230abe2

8 years agoAVRCP: Use MediaController
Marie Janssen [Fri, 22 Apr 2016 00:25:54 +0000 (00:25 +0000)]
AVRCP: Use MediaController
am: 2fc493d0ea

* commit '2fc493d0ea2b504df25d783a488dfadfe301329e':
  AVRCP: Use MediaController

Change-Id: Ibc45bcea6a38686b0c28171ee56a1a0dcb4cbd34

8 years agoAVRCP: Use MediaController
Marie Janssen [Fri, 22 Apr 2016 00:25:54 +0000 (00:25 +0000)]
AVRCP: Use MediaController
am: 2fc493d0ea

* commit '2fc493d0ea2b504df25d783a488dfadfe301329e':
  AVRCP: Use MediaController

Change-Id: I217d39edb9051fa400183317a9c7de66e8b9a2de

8 years agoMerge "AVRCP: Use MediaController"
Marie Janssen [Fri, 22 Apr 2016 00:07:17 +0000 (00:07 +0000)]
Merge "AVRCP: Use MediaController"

8 years agoAVRCP: Use MediaController
Marie Janssen [Tue, 19 Apr 2016 14:12:42 +0000 (07:12 -0700)]
AVRCP: Use MediaController

RemoteController has been depreciated since M.
MediaController lets us track a lot more things and update data as the
state of audio changes.

This also should fix some bugs related to metadata display not happening
on startup / track change / app change.

Bug: 27178384
Bug: 27745277
Bug: 26837775
Bug: 27534794
Bug: 27153373
Change-Id: I246d9641a5e921ed4434495f5c2dfac67d568952

8 years agoAVRCP: Use MediaController
Marie Janssen [Tue, 19 Apr 2016 14:12:42 +0000 (07:12 -0700)]
AVRCP: Use MediaController

RemoteController has been depreciated since M.
MediaController lets us track a lot more things and update data as the
state of audio changes.  We track and log some of these changes for bug
followup.

This also should fix some bugs related to metadata display not happening
on startup / track change / app change.

Bug: 27178384
Bug: 27745277
Bug: 26837775
Bug: 27534794
Bug: 27153373
Change-Id: I246d9641a5e921ed4434495f5c2dfac67d568952

8 years agoMerge "Properly label app as unregistered and add NPE protection" am: d4a672f597...
Ajay Panicker [Thu, 21 Apr 2016 22:04:38 +0000 (22:04 +0000)]
Merge "Properly label app as unregistered and add NPE protection" am: d4a672f597 am: 73122688c6 am: e2ef4d1782
am: fba808f27e

* commit 'fba808f27e41eb172d519b39a546254f08229647':
  Properly label app as unregistered and add NPE protection

Change-Id: I67995695b805f01de8487929f779268c94649667

8 years agoMerge "Properly label app as unregistered and add NPE protection" am: d4a672f597...
Ajay Panicker [Thu, 21 Apr 2016 21:59:56 +0000 (21:59 +0000)]
Merge "Properly label app as unregistered and add NPE protection" am: d4a672f597 am: 73122688c6
am: e2ef4d1782

* commit 'e2ef4d17825129779ab46105af66a4a805c5e7df':
  Properly label app as unregistered and add NPE protection

Change-Id: Id43f76d7e42f2e91bd3ebd7bce43863724ab596d

8 years agoMerge ""DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a482794b91" into...
Seven Shen [Thu, 21 Apr 2016 21:59:07 +0000 (21:59 +0000)]
Merge ""DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a482794b91" into nyc-mr1-dev-plus-aosp
am: 3cbd05f5f1  -s ours

* commit '3cbd05f5f14a95574fc6d5cd8ee41a0395a708c7':

Change-Id: Ia1b9a7c0ac7025305c417cc4aef902007124a851

8 years ago"DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a511ea0b7a -s ours
Seven Shen [Thu, 21 Apr 2016 21:59:07 +0000 (21:59 +0000)]
"DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a511ea0b7a  -s ours
am: f1ed88b29e  -s ours

* commit 'f1ed88b29ea402ba43415aaed21cceb7ff69740f':
  "DO NOT MERGE" Add write SMS protection

Change-Id: Ie993ca04e0ac04173bca8245a211427a8e54f36a

8 years agoMerge ""DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a482794b91" into...
Android Build Merger (Role) [Thu, 21 Apr 2016 21:56:56 +0000 (21:56 +0000)]
Merge ""DO NOT MERGE" Add write SMS protection am: 60e306ba5c am: a482794b91" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Properly label app as unregistered and add NPE protection" am: d4a672f597
Ajay Panicker [Thu, 21 Apr 2016 21:56:48 +0000 (21:56 +0000)]
Merge "Properly label app as unregistered and add NPE protection" am: d4a672f597
am: 73122688c6

* commit '73122688c60586956205665d43748da430bef95e':
  Properly label app as unregistered and add NPE protection

Change-Id: Ib46783b7eba4a7c359970b6369e0c6aa4eb3c506

8 years ago"DO NOT MERGE" Add write SMS protection am: 60e306ba5c
Seven Shen [Thu, 21 Apr 2016 21:56:48 +0000 (21:56 +0000)]
"DO NOT MERGE" Add write SMS protection am: 60e306ba5c
am: a511ea0b7a  -s ours

* commit 'a511ea0b7aa7978784b2aa545fe4062869024680':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I983c5a3a97cb71be140c511519e7a17a75819ad2

8 years ago"DO NOT MERGE" Add write SMS protection am: 60e306ba5c
Seven Shen [Thu, 21 Apr 2016 21:56:48 +0000 (21:56 +0000)]
"DO NOT MERGE" Add write SMS protection am: 60e306ba5c
am: a482794b91

* commit 'a482794b9107af8536d30ff015c9d169d192f3ef':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I4cf92ac926ad9f8932a926f24e43f8886a28576c

8 years ago"DO NOT MERGE" Add write SMS protection
Seven Shen [Thu, 21 Apr 2016 21:54:27 +0000 (21:54 +0000)]
"DO NOT MERGE" Add write SMS protection
am: 60e306ba5c

* commit '60e306ba5c132d5408ccae3a290e7cace020a49f':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I0814706dcaa770fac4f12e522517f53eb17f02af

8 years ago"DO NOT MERGE" Add write SMS protection
Seven Shen [Thu, 21 Apr 2016 21:54:27 +0000 (21:54 +0000)]
"DO NOT MERGE" Add write SMS protection
am: 60e306ba5c

* commit '60e306ba5c132d5408ccae3a290e7cace020a49f':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I095cdaa7bd2674003f2fea3779fcce180af1f5f0

8 years agoMerge "Properly label app as unregistered and add NPE protection"
Ajay Panicker [Thu, 21 Apr 2016 21:54:26 +0000 (21:54 +0000)]
Merge "Properly label app as unregistered and add NPE protection"
am: d4a672f597

* commit 'd4a672f5975a9712796fbcd76b23ee268df810e9':
  Properly label app as unregistered and add NPE protection

Change-Id: Ifb75f1ac8e6bd7893a6dd904338b66871b60ac72

8 years agoMerge "Properly label app as unregistered and add NPE protection"
Ajay Panicker [Thu, 21 Apr 2016 21:24:33 +0000 (21:24 +0000)]
Merge "Properly label app as unregistered and add NPE protection"

8 years agoRace in hfp call termination when local termination faster than HFP
Sanket Agarwal [Tue, 19 Apr 2016 22:57:22 +0000 (15:57 -0700)]
Race in hfp call termination when local termination faster than HFP
update.

If we make a call from the CarKitt and terminate it immidiately then the
CarKitt assumes no call has been created since phone hasnt replied yet
to the message from CarKitt. When it does reply, the CarKitt throws that
message away because it did not handle the intermediate state of
disconnection properly.

Bug: b/28122608

Change-Id: I98105fd36914612fc96cba4d56db97b342822ffa
(cherry picked from commit 52297bafb15107ef66b7edeb1879df28b26e5cc9)

8 years agoProperly label app as unregistered and add NPE protection
Ajay Panicker [Wed, 20 Apr 2016 21:14:33 +0000 (14:14 -0700)]
Properly label app as unregistered and add NPE protection

Bug: 28252914
Change-Id: I1e28a9af96bcf0d56914fcc676a8ff85400bc1c4

8 years ago"DO NOT MERGE" Add write SMS protection
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

8 years agoAdd guest mode functionality (1/5) am: 3558402 am: 6aeb4b1
Ajay Panicker [Wed, 20 Apr 2016 07:16:50 +0000 (07:16 +0000)]
Add guest mode functionality (1/5) am: 3558402 am: 6aeb4b1
am: 93ab20c

* commit '93ab20c7608ac75f4dd47b2f5e0223b7400d7d5a':

Change-Id: I3979087b56f6f43f160fc37698ef3d266a8e39e5

8 years agoAdd guest mode functionality (1/5) am: 3558402
Ajay Panicker [Wed, 20 Apr 2016 07:13:13 +0000 (07:13 +0000)]
Add guest mode functionality (1/5) am: 3558402
am: 6aeb4b1

* commit '6aeb4b1a7db8f8fbc9e2d537906f9ad9f3b41c2c':

Change-Id: Ie932f6082ddada055eb2bd9f8b950464a3ef53dc

8 years agoMerge "Replace NOT_SUPPORTED string constants with empty strings."
TreeHugger Robot [Wed, 20 Apr 2016 02:54:51 +0000 (02:54 +0000)]
Merge "Replace NOT_SUPPORTED string constants with empty strings."

8 years agoAdd guest mode functionality (1/5) am: 3558402aae am: c8ae15d
Ajay Panicker [Wed, 20 Apr 2016 01:22:47 +0000 (01:22 +0000)]
Add guest mode functionality (1/5) am: 3558402aae am: c8ae15d
am: 03be7be

* commit '03be7be241d135dd0e7a324a575b72aaf1fa5ee9':
  Add guest mode functionality (1/5)

Change-Id: I0825a2aab6a5541e8ed42b0ccb5ac6af8d0ec354

8 years agoAdd guest mode functionality (1/5)
Ajay Panicker [Wed, 20 Apr 2016 01:20:51 +0000 (01:20 +0000)]
Add guest mode functionality (1/5)
am: 3558402

* commit '3558402aae35c6b01c505be012d6736b0c758802':
  Add guest mode functionality (1/5)

Change-Id: I0aaa943583d0d7ea464e74397740165e68dde979

8 years agoAdd guest mode functionality (1/5) am: 3558402aae
Ajay Panicker [Wed, 20 Apr 2016 01:20:26 +0000 (01:20 +0000)]
Add guest mode functionality (1/5) am: 3558402aae
am: c8ae15d

* commit 'c8ae15d0627b8c69a29fc9b2f23fc3ac02af28c7':
  Add guest mode functionality (1/5)

Change-Id: If8f309c5afee410c201e8639f01ed7f7bf0675fd

8 years agoAdd guest mode functionality (1/5)
Ajay Panicker [Wed, 20 Apr 2016 00:52:03 +0000 (00:52 +0000)]
Add guest mode functionality (1/5)
am: 3558402aae

* commit '3558402aae35c6b01c505be012d6736b0c758802':
  Add guest mode functionality (1/5)

Change-Id: I2bef0061e1276dee86dd840d0e80888dea1c1adc

8 years agoAdd guest mode functionality (1/5)
Ajay Panicker [Fri, 18 Mar 2016 00:12:08 +0000 (17:12 -0700)]
Add guest mode functionality (1/5)

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

8 years agoMerge "Add guest mode functionality (1/4)" am: fae54a8 am: 35d1580 am: 6265c0e
Ajay Panicker [Tue, 19 Apr 2016 22:10:23 +0000 (22:10 +0000)]
Merge "Add guest mode functionality (1/4)" am: fae54a8 am: 35d1580 am: 6265c0e
am: 7ace4f3

* commit '7ace4f320fcef8259b5ad5dca8f431b90faa6dee':
  Add guest mode functionality (1/4)

Change-Id: Ie8b07de696d80d83ce5622e0d78b2e14533ad65c

8 years agoMerge "Add guest mode functionality (1/4)" am: fae54a8 am: 35d1580
Ajay Panicker [Tue, 19 Apr 2016 22:03:13 +0000 (22:03 +0000)]
Merge "Add guest mode functionality (1/4)" am: fae54a8 am: 35d1580
am: 6265c0e

* commit '6265c0e229c7a5ac9143c100c4d654142043d145':
  Add guest mode functionality (1/4)

Change-Id: I017983f8d6eaa315b97487d656676547a1fafdec

8 years agoMerge "Add guest mode functionality (1/4)" am: fae54a8
Ajay Panicker [Tue, 19 Apr 2016 21:49:37 +0000 (21:49 +0000)]
Merge "Add guest mode functionality (1/4)" am: fae54a8
am: 35d1580

* commit '35d1580a975dc5e9b3d4a7c987e30eb7ab1763be':
  Add guest mode functionality (1/4)

Change-Id: I0d91fba1ca24c0868f6372cd811ba998bed2d190

8 years agoMerge "Add guest mode functionality (1/4)"
Ajay Panicker [Tue, 19 Apr 2016 21:45:45 +0000 (21:45 +0000)]
Merge "Add guest mode functionality (1/4)"
am: fae54a8

* commit 'fae54a8c750cb66cc5970ad15966d12485dd0226':
  Add guest mode functionality (1/4)

Change-Id: I258c1f62672ea83289ead61ce821ea71f2bb9e05

8 years agoMerge "Add guest mode functionality (1/4)"
Ajay Panicker [Tue, 19 Apr 2016 21:29:47 +0000 (21:29 +0000)]
Merge "Add guest mode functionality (1/4)"

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 21:02:22 +0000 (21:02 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours am: ee763f7 am: caad60f
am: a50d809  -s ours

* commit 'a50d8094adaf1ebb0da68913641ed26c11f9b011':

Change-Id: I2366e083aa0dd3b00ba06f287992660a25256b06

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 21:02:22 +0000 (21:02 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours am: fed0765 am: ac17901
am: 03c169a  -s ours

* commit '03c169aa9a0a9f0e82275dcdbb5dbb4824969454':

Change-Id: I6026d0d99456a53e5a32c2eafbe5c038a35bd7b8

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 21:02:22 +0000 (21:02 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours am: ee763f7 am: 294e9d9  -s ours
am: 8079fe8  -s ours

* commit '8079fe8058c62064205526f96ffcf811d0a5ddce':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I8cc567becfd5498b8c164f5831d9f1ee8675e1d8

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 21:02:21 +0000 (21:02 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours am: fed0765 am: b6d79f7  -s ours
am: 9e8901d  -s ours

* commit '9e8901d7f4dc754da6ec9c688956a8814b2cb99c':
  "DO NOT MERGE" Add write SMS protection

Change-Id: Ide2dd7f5d637cf426f2a35c4bd3e65e423a064e0

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:57:17 +0000 (20:57 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours am: ee763f7
am: caad60f

* commit 'caad60f028ca811ad72fc0006c5b70744bd7031c':

Change-Id: I341fbd2f0949a3a6cd7285f13079ce2e3755dfbb

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 20:57:17 +0000 (20:57 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours am: fed0765
am: ac17901

* commit 'ac17901f5360adba75c5fa3e530b14c49cc89a74':

Change-Id: I70bb23d7315b6c19ce78b096a16ca606ff3de7be

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:53:57 +0000 (20:53 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours am: ee763f7
am: 294e9d9  -s ours

* commit '294e9d924c365dc063bb520b1f15221f3e83cac9':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I77343a363a936c883fd9756a34ba52e1900bd2ba

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 20:53:56 +0000 (20:53 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours am: fed0765
am: b6d79f7  -s ours

* commit 'b6d79f70dc21b259d3004533027c75526b5fb97a':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I638c2879c94ff9de0a6a9a2f41c56130da8d73c7

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:50:37 +0000 (20:50 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours
am: ee763f7

* commit 'ee763f7526696a1c6eed92331397781d6eb7789c':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I6976c157f82f2f53ef55d2538f600cc2c91a8a3b

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 20:50:37 +0000 (20:50 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours
am: fed0765

* commit 'fed0765ad788e5ee92b46993d64e74f9f5ac431a':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I63c1e0185f2a2c315c3746def21cdc664a75c632

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:50:29 +0000 (20:50 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820 am: 8a05cda  -s ours
am: ee763f7

* commit 'ee763f7526696a1c6eed92331397781d6eb7789c':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I6004e17e53a5e44206eaf45cb0a498cf6ea8ff4b

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c2...
Seven Shen [Tue, 19 Apr 2016 20:50:29 +0000 (20:50 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81 am: b90c267  -s ours
am: fed0765

* commit 'fed0765ad788e5ee92b46993d64e74f9f5ac431a':
  "DO NOT MERGE" Add write SMS protection

Change-Id: If59497f9e755c99c9fa7d17fc2bb33b278343897

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:48:43 +0000 (20:48 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd am: c522820
am: 8a05cda  -s ours

* commit '8a05cdab974dc2c3eef692a721dcf8c2c892c92d':
  "DO NOT MERGE" Add write SMS protection

Change-Id: Ida61f3ba3d91a67185cb06411251dea62d8eedc4

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
Ajay Panicker [Tue, 19 Apr 2016 20:45:25 +0000 (20:45 +0000)]
"DO NOT MERGE" Add write SMS protection am: fd7a794  -s ours am: daa8d67 am: 5eee2cd am: 48115bb  -s ours am: e2dca1a am: 63bcffd
am: c522820

* commit 'c5228202951c7bc4e52efa5fc37aded7a3447347':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I040910aa52e542acad0fffda4ae4ff5dad101008

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
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

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81
Seven Shen [Tue, 19 Apr 2016 20:41:24 +0000 (20:41 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36 am: 6c32c81
am: b90c267  -s ours

* commit 'b90c26765772a8cf5cf20c86a89dc24490cb1ccd':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I7c3b38bd4ca8c28f20fc89ac936da6e2f0d80480

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd...
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

8 years ago"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36
Seven Shen [Tue, 19 Apr 2016 20:33:41 +0000 (20:33 +0000)]
"DO NOT MERGE" Add write SMS protection am: 64745b1 am: 9accc36
am: 6c32c81

* commit '6c32c815bfbe1058791c6dbee0a98c6b30792963':
  "DO NOT MERGE" Add write SMS protection

Change-Id: I4cca8e8ac4b4659ce7dc28264ccd39a53d68098c

8 years ago"DO NOT MERGE" Add write SMS protection am: fd7a794 -s ours am: daa8d67 am: 5eee2cd
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