18696 Commits

Author SHA1 Message Date
Kent Persson
185e9c2562 Fix NPE in BaseStatusbar in onListenerConnected
If NotificationListenerService is not bound the
getActiveNotifications function will return null.
This will result in a Nullpointer exception in BaseStatusbar
onListenerConnected if it is called. A Nullpointer check was
added in onListenerConnected to avoid this Nullpointer exception.

Change-Id: I0aec040f11101e8f7b5863879b3774dc2bb6ce2b
2016-02-23 10:36:59 +01:00
Sanket Agarwal
ba12af5167 Add support for AVRCP 1.3.
* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
2016-01-19 14:37:18 -08:00
Dan Sandler
12d3393249 Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
2015-12-31 04:24:22 +00:00
Alexander Toresson
5bb6dcef3f Fix volume expand arrow to be displayed correctly
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.

The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.

Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.

Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22
2015-12-14 16:11:31 +01:00
Jeff Sharkey
f2a3c341ab Merge "Allow customisation of advanced settings in DocumentsUI"
am: f1b325c1ec

* commit 'f1b325c1ec41c09f6efeb3d7709e7e7af93eacb8':
  Allow customisation of advanced settings in DocumentsUI
2015-12-03 23:11:51 +00:00
Jeff Sharkey
f1b325c1ec Merge "Allow customisation of advanced settings in DocumentsUI" 2015-12-03 23:04:29 +00:00
Edward Savage-Jones
827dec0e48 Allow customisation of advanced settings in DocumentsUI
Enables the customisation of the default value of the DocumentsUI
'advanced' setting using overlays.

Change-Id: I240cbb845d15ab2ea6ae7a79a17b4f51905fdb9c
2015-12-03 23:02:47 +00:00
Chris Tate
b5a38f6da5 Merge "Don\'t back up / restore EAP network definitions"
am: 14a0981fde

* commit '14a0981fdef45967b19c3db4fb2f298c8b5a1f7c':
  Don't back up / restore EAP network definitions
2015-11-20 18:05:04 +00:00
Christopher Tate
9bc2f472e9 Don't back up / restore EAP network definitions
Bug 25725016

Change-Id: Idfef9dd53f2403bbe4c950493a0ab8fa66a3b7d4
2015-11-18 13:42:04 -08:00
Svetoslav Ganov
5522efb130 Merge "Avoid NPE in printspooler when changing language"
am: 8d8515e708

* commit '8d8515e708f0cebf69587750bbb3abcb315cc61e':
  Avoid NPE in printspooler when changing language
2015-11-10 01:03:05 +00:00
Baligh Uddin
69cc50f1e8 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:59 +00:00
Baligh Uddin
97bf3b5922 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:31 +00:00
Baligh Uddin
5495ee8a9b Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:27 +00:00
Baligh Uddin
57b7fa49ac Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:23 +00:00
Baligh Uddin
6be193d87e Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:19 +00:00
Baligh Uddin
8019f49d08 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:49:17 +00:00
Baligh Uddin
37a728001d Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:40:41 +00:00
Baligh Uddin
ed472fba42 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:40:25 +00:00
Baligh Uddin
e1348a7fa9 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:40:15 +00:00
Baligh Uddin
2523c61fb7 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:40:04 +00:00
Baligh Uddin
c138df954f Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:39:16 +00:00
Baligh Uddin
aa4dbe2d84 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:39:12 +00:00
Baligh Uddin
70df552ac2 Merge "Import translations. DO NOT MERGE" into stage-aosp-master 2015-11-05 19:32:07 +00:00
Masaaki Iwaguchi
86d13f3daf Avoid NPE in printspooler when changing language
PrintActivity is recreated when the language setting is changed.
As a result of the recreation mCurrentPrinter is null, which causes
a NullPointerException when onActivityResult() is called.

The issue is solved with a simple null check.

Change-Id: Ic58f0ca01577d2ec02d494739f3bc2f06240dd44
2015-11-05 17:39:21 +00:00
Baligh Uddin
c94647cfb3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I20cf8ac4a5039ead0a65bd2e38ded78542a7a3e8
2015-11-04 15:59:57 -08:00
Baligh Uddin
599c81d0ea Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I924e59eeff537a0f66ae7ac7ace1dacd1f89f35e
2015-11-04 15:57:40 -08:00
Baligh Uddin
f231f4fccb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I200b933f68468a0e919d917ac93b33e4526bc1d0
2015-11-04 15:48:25 -08:00
Baligh Uddin
40fa6b1e91 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I44df802e45a340d7ef7f094c6c06001d350bb0c5
2015-11-04 15:46:28 -08:00
Baligh Uddin
c1a6632df5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I17d9389bfd2a83e57d20cb5de3e227cc34e09cbe
2015-11-04 15:44:21 -08:00
Baligh Uddin
a1d63092b7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I55bd76c512148127b06a36950cf66da55c9295dc
2015-11-04 15:39:05 -08:00
Baligh Uddin
e22fb216ee Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I76a9ab65d1fe10e2915e5cd794a5cbce1697a933
2015-11-04 15:36:55 -08:00
Baligh Uddin
a1065cf5d9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I924dde8b982ce94128882b484e9c3e9dc5c49013
2015-11-04 15:34:55 -08:00
Baligh Uddin
8ff8892c12 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I76cc8d18dd82f9af09310685a88843eeb71a991c
2015-11-04 15:32:37 -08:00
Baligh Uddin
7ca7920f8d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: Iec5d9e5b20c530e3056e2410af42fd8af8c16788
2015-11-04 15:30:29 -08:00
Baligh Uddin
87428865b2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I790f09439e904a82ed90ec07f6bbdab1e8ef42d8
2015-11-04 15:28:25 -08:00
Baligh Uddin
5bc5bb57f3 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I87a141d9b4b2ac688432d52e1bbe15626b1f301b
2015-11-04 15:26:15 -08:00
Baligh Uddin
185269d3e9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I3ae0e8f44a5933c708d072f2053dbde77795e411
2015-11-04 11:56:04 -08:00
Baligh Uddin
3a68edba5c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I46efa0b9d7293d80c68cb6a1e21dfaa509c6d7d2
2015-11-04 11:51:55 -08:00
Julia Reynolds
537af1070b Merge "SystemUI: Reload the EndNowButton label" am: 40b52bbe48
am: c7839bde7c

* commit 'c7839bde7cd8ed21326208b17030c87e8bf206c9':
  SystemUI: Reload the EndNowButton label
2015-10-26 15:15:24 +00:00
Julia Reynolds
c7839bde7c Merge "SystemUI: Reload the EndNowButton label"
am: 40b52bbe48

* commit '40b52bbe480436fbdc3bfb8a1a70c6144e71ff8f':
  SystemUI: Reload the EndNowButton label
2015-10-26 15:05:34 +00:00
Johan Redestig
f2d824fd56 SystemUI: Reload the EndNowButton label
Reload the EndNowButton label when configuration
changes.

Change-Id: I042d31f0bb011996aa8219c3c412e7b71987244c
2015-10-26 15:51:23 +01:00
Kenny Root
6938fbf3a5 Merge "Add Workman keyboard layout" am: 9a65c36022
am: b0cc47efe5

* commit 'b0cc47efe5d7c200fe7d527c8c17d0854dfe3d35':
  Add Workman keyboard layout
2015-10-23 23:49:39 +00:00
Kenny Root
b0cc47efe5 Merge "Add Workman keyboard layout"
am: 9a65c36022

* commit '9a65c36022482d7fd4217e537fa434cc79b69f39':
  Add Workman keyboard layout
2015-10-23 23:39:24 +00:00
Kenny Root
9a65c36022 Merge "Add Workman keyboard layout" 2015-10-23 23:32:01 +00:00
Dmitry Torokhov
3eba93f21c SystemUI: fix automatic pairing of BT keyboards am: 79f00cf06f am: d3eee7c410
am: 5c6a3872cb

* commit '5c6a3872cb0df50e9a8d2aaa0b8f84e78cd4433f':
  SystemUI: fix automatic pairing of BT keyboards
2015-10-22 18:24:35 +00:00
Dmitry Torokhov
5c6a3872cb SystemUI: fix automatic pairing of BT keyboards am: 79f00cf06f
am: d3eee7c410

* commit 'd3eee7c410dbc6f8eb5133a347fb0a0ce7221893':
  SystemUI: fix automatic pairing of BT keyboards
2015-10-22 18:18:46 +00:00
Dmitry Torokhov
d3eee7c410 SystemUI: fix automatic pairing of BT keyboards
am: 79f00cf06f

* commit '79f00cf06f5e70047d73b48d20910b967353b075':
  SystemUI: fix automatic pairing of BT keyboards
2015-10-22 18:13:36 +00:00
Dmitry Torokhov
79f00cf06f SystemUI: fix automatic pairing of BT keyboards
After reset (docking) Pixel C Keyboard that was previously paired with
a device goes into so-called non-discoverable mode, where it will
establish connection only with device that it has connected before. When
scanning for available devices we need to wait till the keyboard starts
advertising itself as discoverable, and only then try to pair.

Also, let's flush the device cache when we attach the base to make sure
the device that we seen before and cached again in the right state after
reset.

Bug: 24915541
Change-Id: I136c1c4235080a25529b4b1c2b1da9bc18508811
2015-10-22 10:19:32 -07:00
Daniel Sandler
f5450e1b33 Merge "Delay hiding the cast icon for 3 seconds." into mnc-dr-dev am: cb10c09f0a am: b4aa8b0c5b
am: f7284546d9

* commit 'f7284546d930583d1f7d6ca50d80bd74be3eeae4':
  Delay hiding the cast icon for 3 seconds.
2015-10-21 23:30:29 +00:00
Daniel Sandler
f7284546d9 Merge "Delay hiding the cast icon for 3 seconds." into mnc-dr-dev am: cb10c09f0a
am: b4aa8b0c5b

* commit 'b4aa8b0c5b65d301611ca4c0492b2a9ed67a5a1a':
  Delay hiding the cast icon for 3 seconds.
2015-10-21 23:24:36 +00:00