OSDN Git Service

android-x86/packages-apps-Bluetooth.git
8 years agoAVRCP: Provide more media attributes am: 0fcd081ccc
Marie Janssen [Fri, 6 May 2016 18:58:39 +0000 (18:58 +0000)]
AVRCP: Provide more media attributes am: 0fcd081ccc
am: 3baac1fb6a

* commit '3baac1fb6afa84c3fdaa5ba96df9df25fa86cd24':
  AVRCP: Provide more media attributes

Change-Id: Iffdbbd00538986895c84052ab0c999aa4268385a

8 years agoAVRCP: Provide more media attributes
Marie Janssen [Fri, 6 May 2016 18:53:49 +0000 (18:53 +0000)]
AVRCP: Provide more media attributes
am: 0fcd081ccc

* commit '0fcd081cccbf624a3a886fe4eb68adc3498e695c':
  AVRCP: Provide more media attributes

Change-Id: I0bb3438288534aee9bdfb30a359872560e302804

8 years agoMerge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW...
Hua Song [Thu, 5 May 2016 21:14:35 +0000 (21:14 +0000)]
Merge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent" am: 5df2915a97 am: 01bdd183c2
am: ae215fe26a

* commit 'ae215fe26af65257d3fd0adb345402c4b91d1b34':
  OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent

Change-Id: I6c11788982e850a0cd3f55bd430775f2fe047a31

8 years agoMerge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW...
Hua Song [Thu, 5 May 2016 21:09:26 +0000 (21:09 +0000)]
Merge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent" am: 5df2915a97
am: 01bdd183c2

* commit '01bdd183c2b0bda4814399e94fc967cb1cfe8794':
  OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent

Change-Id: Ib4a753745884510afa83705c9adc281dd6846b51

8 years agoMerge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW...
Hua Song [Thu, 5 May 2016 21:04:46 +0000 (21:04 +0000)]
Merge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent"
am: 5df2915a97

* commit '5df2915a97c5df3e0f7c91c15829849ebc7b6746':
  OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent

Change-Id: I2e4fc0a6a67662ea2f4c5978423ceceb9700b0cc

8 years agoMerge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW...
Treehugger Robot [Thu, 5 May 2016 21:00:05 +0000 (21:00 +0000)]
Merge "OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent"

8 years agoMerge "Fix divergent equals and hashCode behavior am: 27b250928c am: c0396c8336"...
Android Build Merger (Role) [Thu, 5 May 2016 20:41:06 +0000 (20:41 +0000)]
Merge "Fix divergent equals and hashCode behavior am: 27b250928c am: c0396c8336" into nyc-mr1-dev-plus-aosp

8 years agoFix divergent equals and hashCode behavior am: 27b250928c
Ian Rogers [Thu, 5 May 2016 20:40:58 +0000 (20:40 +0000)]
Fix divergent equals and hashCode behavior am: 27b250928c
am: c0396c8336

* commit 'c0396c83369406ee51abf8109d1fa6ab38e3289c':
  Fix divergent equals and hashCode behavior

Change-Id: Ic5321e7c141f162d9da8ca6b98aff55a99c5daae

8 years agoFix divergent equals and hashCode behavior am: 27b250928c
Ian Rogers [Thu, 5 May 2016 20:40:55 +0000 (20:40 +0000)]
Fix divergent equals and hashCode behavior am: 27b250928c
am: e0048fc1d5

* commit 'e0048fc1d5767a1c6648064f7fd262b7f83356dc':
  Fix divergent equals and hashCode behavior

Change-Id: I23875d3afcdf019c2b28b1bf88978507624fa8a2

8 years agoFix divergent equals and hashCode behavior
Ian Rogers [Thu, 5 May 2016 20:36:19 +0000 (20:36 +0000)]
Fix divergent equals and hashCode behavior
am: 27b250928c

* commit '27b250928cb3401d9a0a3a3f4b2026f1a431b6df':
  Fix divergent equals and hashCode behavior

Change-Id: I5a31d6166a0e1ed2d4f4c6cedb0afb5c831836f7

8 years agoFix divergent equals and hashCode behavior
Ian Rogers [Thu, 5 May 2016 20:36:15 +0000 (20:36 +0000)]
Fix divergent equals and hashCode behavior
am: 27b250928c

* commit '27b250928cb3401d9a0a3a3f4b2026f1a431b6df':
  Fix divergent equals and hashCode behavior

Change-Id: Ica78e8006766bec9011cef447db87ec114b71b42

8 years agoAVRCP: Provide more media attributes
Marie Janssen [Mon, 25 Apr 2016 18:24:39 +0000 (11:24 -0700)]
AVRCP: Provide more media attributes

Add track number, total tracks, genre, and consolidate MediaAttribute
handling into a single place.

Bug: 28589463

Change-Id: I53049bc2a43c0f30af9639fbc3d6a02cd8a74900

8 years agoFix divergent equals and hashCode behavior
Ian Rogers [Wed, 4 May 2016 17:37:28 +0000 (10:37 -0700)]
Fix divergent equals and hashCode behavior

Calling Objects.hash with a byte[] will call the identity hashCode on the
byte[] (data, data_mask) and this doesn't agree with the use of
Objects.deepEquals in equals.
Bug caught by error prone.

Bug: 27723540
Change-Id: Ic33f9a341165db6c9339321f81f7af63d627a2cb

8 years agoOPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent
Hua Song [Thu, 5 May 2016 07:20:28 +0000 (15:20 +0800)]
OPP: Use addFlags() instead of setFlags() when adding flags to the ACTION_VIEW intent

Signed-off-by: Hua Song <shcalm@gmail.com>
Change-Id: Ie370b1fc599dbb1d8effca409de28e11f0e2b370

8 years agoMerge "Fix divergent equals and hashCode behavior" am: c19deeb758 am: 953bc530a3
Ian Rogers [Thu, 5 May 2016 04:45:36 +0000 (04:45 +0000)]
Merge "Fix divergent equals and hashCode behavior" am: c19deeb758 am: 953bc530a3
am: 25c9b7e2a4

* commit '25c9b7e2a486df02b462d2b89b674c5098c89e60':
  Fix divergent equals and hashCode behavior

Change-Id: I91ab73c2bdad8e65b442782692ebcdc6919324e0

8 years agoMerge "Fix divergent equals and hashCode behavior" am: c19deeb758
Ian Rogers [Thu, 5 May 2016 04:43:15 +0000 (04:43 +0000)]
Merge "Fix divergent equals and hashCode behavior" am: c19deeb758
am: 953bc530a3

* commit '953bc530a3d16c5e73e95b0abacc56deb241996b':
  Fix divergent equals and hashCode behavior

Change-Id: I8e40f7cd8db56d007e1a7f61f1a0f52e56116922

8 years agoMerge "Fix divergent equals and hashCode behavior"
Ian Rogers [Thu, 5 May 2016 04:40:58 +0000 (04:40 +0000)]
Merge "Fix divergent equals and hashCode behavior"
am: c19deeb758

* commit 'c19deeb758de2107beeeb29b2f221d518dfca141':
  Fix divergent equals and hashCode behavior

Change-Id: Ia876f453ae436e4079a33b37c0441d35bdf5a99b

8 years agoMerge "Fix divergent equals and hashCode behavior"
Treehugger Robot [Thu, 5 May 2016 04:37:09 +0000 (04:37 +0000)]
Merge "Fix divergent equals and hashCode behavior"

8 years agoFix divergent equals and hashCode behavior
Ian Rogers [Wed, 4 May 2016 17:37:28 +0000 (10:37 -0700)]
Fix divergent equals and hashCode behavior

Calling Objects.hash with a byte[] will call the identity hashCode on the
byte[] (data, data_mask) and this doesn't agree with the use of
Objects.deepEquals in equals.
Bug caught by error prone.

Bug: 27723540
Change-Id: Ic33f9a341165db6c9339321f81f7af63d627a2cb

8 years agoMerge "AVRCP: Provide more media attributes" am: 124563d21a am: f9e644effb
Marie Janssen [Wed, 4 May 2016 23:48:24 +0000 (23:48 +0000)]
Merge "AVRCP: Provide more media attributes" am: 124563d21a am: f9e644effb
am: 1e56607e23

* commit '1e56607e2310341b96512bacb4e7258d44cbc9fa':
  AVRCP: Provide more media attributes

Change-Id: I116e69d06905bac1fb3aaf00bd8ef2780bf3bc9d

8 years agoMerge "AVRCP: Provide more media attributes" am: 124563d21a
Marie Janssen [Wed, 4 May 2016 23:46:01 +0000 (23:46 +0000)]
Merge "AVRCP: Provide more media attributes" am: 124563d21a
am: f9e644effb

* commit 'f9e644effb04eda411d453e5691fe699c8a215ca':
  AVRCP: Provide more media attributes

Change-Id: I1b69d71566eb6667639d0a10adda6a45a75ab6a2

8 years agoMerge "AVRCP: Provide more media attributes"
Marie Janssen [Wed, 4 May 2016 23:43:34 +0000 (23:43 +0000)]
Merge "AVRCP: Provide more media attributes"
am: 124563d21a

* commit '124563d21a8454ce627c991ac6fff56407654939':
  AVRCP: Provide more media attributes

Change-Id: I8d8467af360f7d2b72c98287a70863ab7a39abd5

8 years agoMerge "AVRCP: Provide more media attributes"
Treehugger Robot [Wed, 4 May 2016 23:35:50 +0000 (23:35 +0000)]
Merge "AVRCP: Provide more media attributes"

8 years agoAVRCP: Provide more media attributes
Marie Janssen [Mon, 25 Apr 2016 18:24:39 +0000 (11:24 -0700)]
AVRCP: Provide more media attributes

Add track number, total tracks, genre, and consolidate MediaAttribute
handling into a single place.

Bug: 28589463

Change-Id: I53049bc2a43c0f30af9639fbc3d6a02cd8a74900

8 years agoFix work profile app not being able to create bond am: 11976279d5
Jakub Pawlowski [Wed, 4 May 2016 22:08:06 +0000 (22:08 +0000)]
Fix work profile app not being able to create bond am: 11976279d5
am: 1bf9957d96

* commit '1bf9957d968d9829d35d0fd6adf7372eb8f576a8':

Change-Id: I937f7142b5c4af38d29dc8cc276ea2d7d60ab427

8 years agoFix work profile app not being able to create bond am: 11976279d5
Jakub Pawlowski [Wed, 4 May 2016 22:05:52 +0000 (22:05 +0000)]
Fix work profile app not being able to create bond am: 11976279d5
am: 29e88d6e4d

* commit '29e88d6e4d3bd5cc8799f0e769efa826fbda93af':
  Fix work profile app not being able to create bond

Change-Id: Icd7d9b8c60e749a788109a7fbd5e665583fc3473

8 years agoFix work profile app not being able to create bond
Jakub Pawlowski [Wed, 4 May 2016 22:03:06 +0000 (22:03 +0000)]
Fix work profile app not being able to create bond
am: 11976279d5

* commit '11976279d5403fb65d9f0ea72b0e450dfd841958':
  Fix work profile app not being able to create bond

Change-Id: I1a94f94aa7f12c1c46cb52f69e37418c792f6b99

8 years agoFix work profile app not being able to create bond
Jakub Pawlowski [Wed, 4 May 2016 22:02:56 +0000 (22:02 +0000)]
Fix work profile app not being able to create bond
am: 11976279d5

* commit '11976279d5403fb65d9f0ea72b0e450dfd841958':
  Fix work profile app not being able to create bond

Change-Id: I99c8f2b889e0f0893e6b54bc312aef6a6eb19cd1

8 years agoFix work profile app not being able to create bond
Jakub Pawlowski [Fri, 15 Apr 2016 12:30:01 +0000 (05:30 -0700)]
Fix work profile app not being able to create bond

Bug: 28153078
Change-Id: I49c020d7d016c667a6cb3366ef862a1eb9dfb4d5

8 years agoMerge "Make Bluetooth encryption aware am: cf48e13e3b am: 37850ce258" into nyc-mr1...
Android Build Merger (Role) [Tue, 3 May 2016 00:53:17 +0000 (00:53 +0000)]
Merge "Make Bluetooth encryption aware am: cf48e13e3b am: 37850ce258" into nyc-mr1-dev-plus-aosp

8 years agoMake Bluetooth encryption aware am: cf48e13e3b
Ajay Panicker [Tue, 3 May 2016 00:53:02 +0000 (00:53 +0000)]
Make Bluetooth encryption aware am: cf48e13e3b
am: e01b52091b

* commit 'e01b52091b6197202ebba345cf7d230fd298c382':
  Make Bluetooth encryption aware

Change-Id: I43f86ff920789938ac143b21a5579b4097c18bcf

8 years agoMake Bluetooth encryption aware am: cf48e13e3b
Ajay Panicker [Tue, 3 May 2016 00:53:02 +0000 (00:53 +0000)]
Make Bluetooth encryption aware am: cf48e13e3b
am: 37850ce258

* commit '37850ce25811d6096bd87a42cfa818b0279434ab':
  Make Bluetooth encryption aware

Change-Id: I1e73464b004b5aadf7215b19492178a8825930ed

8 years agoMake Bluetooth encryption aware
Ajay Panicker [Tue, 3 May 2016 00:50:45 +0000 (00:50 +0000)]
Make Bluetooth encryption aware
am: cf48e13e3b

* commit 'cf48e13e3bcfbc326bf860331d367a6e4524af8d':
  Make Bluetooth encryption aware

Change-Id: I9e9f85059213a41cea86bfb98795fff96d35fadf

8 years agoMake Bluetooth encryption aware
Ajay Panicker [Tue, 3 May 2016 00:48:28 +0000 (00:48 +0000)]
Make Bluetooth encryption aware
am: cf48e13e3b

* commit 'cf48e13e3bcfbc326bf860331d367a6e4524af8d':
  Make Bluetooth encryption aware

Change-Id: Ie1a336ece5586f1cd7901cf86c1317a59b5c8683

8 years agoMake Bluetooth encryption aware
Ajay Panicker [Mon, 11 Apr 2016 23:45:52 +0000 (16:45 -0700)]
Make Bluetooth encryption aware

Allow the Bluetooth application to be bound to before the user
enters their lock pattern. Also move the file used for sharing
text blobs to private storage as that could contain private data.

Bug: 27332939
Change-Id: Iefa15939967afeb34c088957834ad5c35d7fd8fe

8 years agoMerge "Log permission check failure as warning" am: dd40b31 am: 7ede44c
Jakub Pawlowski [Tue, 26 Apr 2016 21:15:38 +0000 (21:15 +0000)]
Merge "Log permission check failure as warning" am: dd40b31 am: 7ede44c
am: 9d33ceb

* commit '9d33cebfe1a164a97855a4bc750da648f7d6d3a2':
  Log permission check failure as warning

Change-Id: I0171e1567899738ab8f8491631d3f359553b33bf

8 years agoMerge "Log permission check failure as warning" am: dd40b31
Treehugger Robot [Tue, 26 Apr 2016 21:12:12 +0000 (21:12 +0000)]
Merge "Log permission check failure as warning" am: dd40b31
am: 7ede44c

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

Change-Id: I540684bcd1ac150047f22b26a89ff609980c2aac

8 years agoMerge "Log permission check failure as warning"
Jakub Pawlowski [Tue, 26 Apr 2016 19:19:41 +0000 (19:19 +0000)]
Merge "Log permission check failure as warning"
am: dd40b31

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

Change-Id: Ib9280678efc47f75aaf4d5e949f4961b0fcf3c78

8 years agoMerge "Log permission check failure as warning"
Treehugger Robot [Tue, 26 Apr 2016 19:11:21 +0000 (19:11 +0000)]
Merge "Log permission check failure as warning"

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