Commit Graph

11780 Commits

Author SHA1 Message Date
Treehugger Robot
b065cc7fa6 Merge "Alarm icon is not shown for secondary users" 2016-04-26 18:32:50 +00:00
Treehugger Robot
b4c4e20960 Merge "Fix: the label "customize" is not updated after changing language" 2016-04-13 14:25:05 +00:00
Treehugger Robot
e3d556f785 Merge "Dismiss keyguard when user button is tapped" 2016-04-13 13:32:38 +00:00
qinglian.x.zhang
a967b6210b Show volume safety warning for all users
The volume safety warning is shown only for owner.
It should be shown for all users.

Change-Id: I616038e3eecf8523aa5edd48843b0eb444607d2f
2016-04-11 21:18:39 +09:00
Kaori Katou
0a33405329 Dismiss keyguard when user button is tapped
When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
2016-04-11 11:31:09 +09:00
Yongjiang Wu
cf398419e2 Fix: the label "customize" is not updated after changing language
The text "customize" is not updated in onConfigurationChanged()
after changing language, so the "customize" text is displayed
incorrectly.

Change-Id: Id6ecdff1f22724955fb1080609da15ccd38d2209
2016-03-31 07:59:10 +02:00
Juan Flores
2ff3720699 Alarm icon is not shown for secondary users
The alarm icon is not shown in the status bar
when switching to a secondary user and setting an alarm.

Bug: 27688859
Change-Id: I9731e6772560853282b6c0348d647024d3424190
2016-03-22 11:07:01 +00:00
Ian Rogers
a99b1559bf Fix broken StringBuilder construction.
StringBuilder doesn't have a char constructor and so passing a char calls the
int constructor that presizes the StringBuilder rather than creating it
containing a single character.
This bug was caught by error prone.

Change-Id: I809ce0fcf930688db925ac7a8e23ee85086d479e
2016-03-16 12:15:42 -07:00
Adrian Roos
4535e11fb7 Merge "Close notification panel when user button is tapped" 2016-03-15 18:54:17 +00:00
Akira Oshimi
8cb009e451 Close notification panel when user button is tapped
When multi-user is disabled and user button on the notification panel
is tapped, the contact app is displayed behind the notification panel.
The notification panel should be closed
when the contact app is launched.

Change-Id: I66ebcb66c898dfebe1d09b798f750f696c360da8
2016-02-29 15:50:04 +09:00
Baligh Uddin
b2fd980092 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I13a51d705fc1cf7780f67c5c7ff8ef4c232eb8de
2016-02-26 23:06:47 -08:00
Baligh Uddin
4afe84dbbf Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: Iecd4d12f6df900a2978abd0d7b119a6464f02829
2016-02-23 14:17:33 -08:00
Jason Monk
c3eb211b70 Merge "Fix NPE in BaseStatusbar in onListenerConnected"
am: ffef959ca4

* commit 'ffef959ca4e2607a3e4e3f0f23e4aaa3e1b3aafa':
  Fix NPE in BaseStatusbar in onListenerConnected
2016-02-23 13:55:28 +00:00
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
Thierry Strudel
3b6c965570 Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44
am: f4dd31755a

* commit 'f4dd31755a31a2eea6e363a1ab45a4a8634e27ed':
  Supply content description for QS disconnect buttons
2016-01-15 23:51:19 +00:00
Thierry Strudel
f4dd31755a Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
am: fc7e682f44

* commit 'fc7e682f445fbf358e59205912229b63c5fadda4':
  Supply content description for QS disconnect buttons
2016-01-15 23:47:53 +00:00
Thierry Strudel
fc7e682f44 Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev 2016-01-15 23:44:45 +00:00
Daniel Sandler
8afab95aa9 Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev am: 76f28bbd64
am: 3be84505f4

* commit '3be84505f41e58125b4449f0506d518bd2f1ae95':
  Stop leaking Notifications when they change groupKeys.
2016-01-15 21:18:20 +00:00
Daniel Sandler
3be84505f4 Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
am: 76f28bbd64

* commit '76f28bbd64a6841a91d4890d7a248411fd95b149':
  Stop leaking Notifications when they change groupKeys.
2016-01-15 21:14:01 +00:00
Dan Sandler
24813b0dd5 Stop leaking Notifications when they change groupKeys.
If a Notification changes groups (either from one group to
another, or gets a group key for the first time, which takes
it out of its implicit singleton group) it should be removed
from the old group in NotificationGroupManager's mGroupMap
and re-inserted under the new one.

Unfortunately we were passing the *new* notification in the
oldNotification argument, so we would always attempt (and
fail) to remove it from the *new* group, leaving a strong
reference to the Notification inside mGroupMap under an
obsolete group key.

Bug: 26561365
Change-Id: Ie5cdceb4f843dbd363652e00fbc0f3ac6f6ef247
2016-01-15 10:29:31 -05:00
Dan Sandler
b3f1109d99 Supply content description for QS disconnect buttons
Bug: 26555270
Change-Id: I3803c7ad78a64894eca5c36f5d9ecf7fc4a6ad92
2016-01-14 11:38:35 -05:00
Selim Cinek
a8a4d29aec Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev am: d23f1eb0cd
am: 804ff964af

* commit '804ff964afed8154c5b169cd1f2bb6e89dc05f2f':
  Fixed a crash with the heads up manager
2016-01-13 23:14:26 +00:00
Selim Cinek
804ff964af Merge "Fixed a crash with the heads up manager" into mnc-dr1.5-dev
am: d23f1eb0cd

* commit 'd23f1eb0cd9893395573a4059be195e8fdb1007a':
  Fixed a crash with the heads up manager
2016-01-13 23:10:20 +00:00
Selim Cinek
ba9e8586e3 Fixed a crash with the heads up manager
Bug: 25693389
Change-Id: Id852e342000bff6de0ce19f442eb53b21e935b7b
2016-01-13 21:13:33 +00:00
Jason Monk
8ced692e44 Get data type from service state as well am: 67b2c16a9a
am: 05130f3f23

* commit '05130f3f237efbbf497b770938e0b758a646de1a':
  Get data type from service state as well
2016-01-12 18:58:28 +00:00
Jason Monk
05130f3f23 Get data type from service state as well
am: 67b2c16a9a

* commit '67b2c16a9a9060d37888bdab4dfadd384a76e9d7':
  Get data type from service state as well
2016-01-12 18:51:32 +00:00
Jason Monk
67b2c16a9a Get data type from service state as well
Bug: 26276354
Bug: 26413831
Change-Id: Ic080300db7d5e5200caf611cc2ee1ef3af93736e
2016-01-12 10:24:09 -05:00
Daniel Sandler
f61708617c Merge "DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm." into mnc-dr1.5-dev
am: c2ec3f1bbe

* commit 'c2ec3f1bbe7271be2126b48fc94acc42a37f43f2':
  DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
2016-01-07 18:13:07 +00:00
Dan Sandler
8d9aea8a18 DO NOT MERGE: 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
2016-01-07 18:09:11 +00:00
Dan Sandler
65a35016c1 Merge "Use GregorianCalendar.add() when searching for next alarm."
am: b52de8248f

* commit 'b52de8248f8e5f95f7984967e646eb9b3a641526':
  Use GregorianCalendar.add() when searching for next alarm.
2016-01-04 20:07:38 +00: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
Adam Lesinski
b31f1a5f0e Use wakeup reason when FingerPrint sensor wakes up the device am: 9289560aa0
am: 7197bb49a7

* commit '7197bb49a73248798dd7d825927e6c849cb1255c':
  Use wakeup reason when FingerPrint sensor wakes up the device
2015-12-15 22:07:53 +00:00
Adam Lesinski
7197bb49a7 Use wakeup reason when FingerPrint sensor wakes up the device
am: 9289560aa0

* commit '9289560aa0d195dfed67dab05811114bc7bc88a9':
  Use wakeup reason when FingerPrint sensor wakes up the device
2015-12-15 22:01:03 +00:00
Adam Lesinski
9289560aa0 Use wakeup reason when FingerPrint sensor wakes up the device
PowerManager can log into BatteryStats the reason for the device being
woken up. This change has the Fingerprint controller report the reason
instead of a default non-descriptive 'wakeUp' reason.

Bug:26209577
Change-Id: I12d80682dad888add139cca586d4b948e9d546e5
(cherry picked from commit 5bcb8bb31a)
2015-12-15 21:46:11 +00:00
Julia Reynolds
d1aa7ae6d7 Merge "Fix volume expand arrow to be displayed correctly"
am: caf1972dee

* commit 'caf1972dee1a63dcab130f9af1d066d6af9c38c2':
  Fix volume expand arrow to be displayed correctly
2015-12-14 09:13:56 -08: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
Julia Reynolds
bfa2be0f58 Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev am: dde5a6ef28
am: 5ff55cec79

* commit '5ff55cec79b7bda67dd3e458263ccb8e2896af30':
  Fix radio button flash on hour change.
2015-12-07 23:30:22 +00:00
Julia Reynolds
5ff55cec79 Merge "Fix radio button flash on hour change." into mnc-dr1.5-dev
am: dde5a6ef28

* commit 'dde5a6ef2846bfb6b253b0946a7b9e42a11b8348':
  Fix radio button flash on hour change.
2015-12-07 23:08:01 +00:00
Julia Reynolds
3e57340b6a Fix radio button flash on hour change.
Also delete confusing debug variable.

Bug: 25459795
Bug: 25783349
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
2015-12-07 14:59:16 +00:00
Adrian Roos
82cfaa813b Merge "Charging speed based on voltage" into mnc-dr2-dev
am: 0ede75507c

* commit '0ede75507c43819d0417efe1f1ab5c626a608fc5':
  Charging speed based on voltage
2015-12-02 01:50:10 +00:00
Adrian Roos
0c859ae9c7 Charging speed based on voltage
Also takes into account the voltage
at which we charge to make speeds
at different voltages comparable.

Bug: 25229483
Change-Id: I62a192932a013036585cd9fc870808debceac0d3
2015-11-23 17:36:06 -08:00
Winson Chung
ef5feb290a Merge "DO NOT MERGE Ensure that the device is provisioned before showing Recents." into mnc-dev am: dce0f8040d am: 3e9f2b7894 am: 1b29fd87a2
am: 3bab0fd4f7

* commit '3bab0fd4f7b848d45ce94b96abbdc537d1e47a5a':
  DO NOT MERGE Ensure that the device is provisioned before showing Recents.
2015-11-13 18:29:35 +00:00
Winson Chung
3bab0fd4f7 Merge "DO NOT MERGE Ensure that the device is provisioned before showing Recents." into mnc-dev am: dce0f8040d am: 3e9f2b7894
am: 1b29fd87a2

* commit '1b29fd87a26d6230c55c701d1411b34342614af0':
  DO NOT MERGE Ensure that the device is provisioned before showing Recents.
2015-11-13 18:21:53 +00:00
Winson Chung
1b29fd87a2 Merge "DO NOT MERGE Ensure that the device is provisioned before showing Recents." into mnc-dev am: dce0f8040d
am: 3e9f2b7894

* commit '3e9f2b789414f34b5530107c362295c5a637bac1':
  DO NOT MERGE Ensure that the device is provisioned before showing Recents.
2015-11-13 18:15:29 +00:00
Winson Chung
3e9f2b7894 Merge "DO NOT MERGE Ensure that the device is provisioned before showing Recents." into mnc-dev
am: dce0f8040d

* commit 'dce0f8040dcce494166832eb6c1e8a2d9638ddd4':
  DO NOT MERGE Ensure that the device is provisioned before showing Recents.
2015-11-13 18:08:35 +00:00
Winson
a7df77155d DO NOT MERGE Ensure that the device is provisioned before showing Recents.
Bug: 25476219

Change-Id: Ibbe621748f7275f8c1ccded84612ca16292559eb
2015-11-11 17:48:34 +00:00
Geoff Mendal
210f0afaf9 Import translations. DO NOT MERGE
Change-Id: I45eaf276af6efa775e2e7c0a7cd8040fbf13e32e
Auto-generated-cl: translation import
2015-11-09 05:11:08 -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
Geoff Mendal
4c9cdbc7ba Import translations. DO NOT MERGE
Change-Id: I4d14bf278e491e46eeaabd4bb97641d06c48920c
Auto-generated-cl: translation import
2015-11-04 06:59:32 -08:00
Geoff Mendal
f44adbba69 Import translations. DO NOT MERGE
Change-Id: I52024255e1324f3757497603d692def1fec6e75f
Auto-generated-cl: translation import
2015-11-04 05:09:10 -08:00