10120 Commits

Author SHA1 Message Date
Selim Cinek
61a7d1f5f6 Follow-up to empty keyguard issue
Bug: 21124013
Change-Id: I2f880ffe1f8a69f66a37e27f700c2e8919e46acd
2015-06-22 21:09:44 +00:00
Selim Cinek
f8fbc2a7cc Showing the bouncer now when waking up from touch while lagging
Bug: 21124013
Change-Id: I21fd26180c3389191e63ca728a651a3fbc98a75e
2015-06-22 20:57:50 +00:00
John Spurlock
82e595fd6e Merge "Volume: Force focused state to disambig multiple sliders." into mnc-dev 2015-06-22 20:28:40 +00:00
Selim Cinek
a0f5c76ffd Added more logging to debug the empty keyguard
Also fixed a very seldom case.

Bug: 21124013
Change-Id: I025611a36c5e80379bb88cda5bac0be04fd8ebc5
2015-06-22 20:18:15 +00:00
John Spurlock
67a0f850a4 Volume: Force focused state to disambig multiple sliders.
And fix volume policy so that a focused slider at the top
of the screen does not cause the window to pan.

Bug: 21476764
Change-Id: I4a52270ca5ecf9b9bd6e787ef580ecbd32e62625
2015-06-22 14:49:27 -04:00
Jason Monk
616f035bc9 Merge "Add icon mapping for NETWORK_TYPE_IWLAN" into mnc-dev 2015-06-22 14:29:45 +00:00
Jason Monk
c1bc9d4872 Add icon mapping for NETWORK_TYPE_IWLAN
According to TelephonyManager#getNetworkClass, it seems to be a form
of 4g, so give it those icons.

Bug: 21338555
Change-Id: I00629572950191f30fd274367e95c3117990f671
2015-06-22 10:22:55 -04:00
Geoff Mendal
372a9a2a93 Import translations. DO NOT MERGE
Change-Id: I2ad73428a2295cfc3824de5837ab2f927fd5d626
Auto-generated-cl: translation import
2015-06-22 08:59:17 -05:00
John Spurlock
3953b5a1f9 Merge "Zen: Tweak total silence new user message for non-voice devices." into mnc-dev 2015-06-21 14:52:50 +00:00
John Spurlock
cbd7a31a44 Zen: Tweak total silence new user message for non-voice devices.
Bug: 21953388
Change-Id: I395af64b175b22fc58d80529cdbb12ebd9e00115
2015-06-21 10:46:28 -04:00
Selim Cinek
c99d9a9564 Fixed content description of the lock icon when fingerprint is on
Also surfacing Fingerprint Errors now with a message.

Bug: 21565811
Change-Id: I3bba66303c08313dbca1df5ef2f20b251f541bc1
2015-06-20 03:23:57 +00:00
Adrian Roos
c6d3e0e11d Tweak assist disclosure animation
Bug: 21568059
Change-Id: I81666bed4d4ae3eb1998cfdcc652921bafeae7f2
2015-06-19 16:48:04 -07:00
Adrian Roos
4f43dc042b Assist disclosure
Add an animation that discloses delivery
of contextual data to the assist component.

Also fixes a bug where contextual data was
delivered to legacy assist activities even
though the user explicitly disabled context.

Bug: 21568059
Change-Id: I27dfaa36e2f677b0d73acfa4730f0f4ea3486919
2015-06-19 11:33:05 -07:00
Jason Monk
cdca13c613 Merge "Fix intent tile to unlock on launching activities" into mnc-dev 2015-06-19 18:29:00 +00:00
Jason Monk
ee43cdfa43 Fix intent tile to unlock on launching activities
Change-Id: Ibde6a21d5a36d4697101e2201d1d77e26d684753
2015-06-19 14:26:25 -04:00
Kenny Guy
43cf8d1ed1 Merge "Use closer to standard toast for work profile toast." into mnc-dev 2015-06-19 14:56:51 +00:00
Kenny Guy
63bf8acb2a Use closer to standard toast for work profile toast.
Revert back to using a standard system toast
for the toast shown when user unlocks to a
work activity.
Include the work status icon in the toast.

Bug: 21325183
Bug: 21896447
Change-Id: I691417a4ecac36983f391ee722f59e2b467affc1
2015-06-19 15:34:02 +01:00
Jason Monk
909705601e Try to keep connection state more up to date
It seems that connection state isn't always correct, make sure we
update it every time a device changes state, so that we don't stay
connected while no device is connected.

Bug: 21896051
Change-Id: I5aa398f33a916609742e22ce5affd4211ed0a626
2015-06-19 10:04:49 -04:00
Selim Cinek
a353528c79 Merge "Added a message to the keyguard bouncer" into mnc-dev 2015-06-19 01:40:39 +00:00
Selim Cinek
3122fa85b2 Added a message to the keyguard bouncer
A message can now be shown on the keyguard bouncer
explaining why the bouncer is being shown.

Bug: 21618072
Change-Id: I25aea9cc242abbf6a133fb42cc4407f5c2f3f688
2015-06-18 15:30:36 -07:00
Dan Sandler
50ec9b1bd9 Merge "Patch up certain kinds of broken notifications." into mnc-dev 2015-06-18 20:26:49 +00:00
Chris Wren
5e275f9fc0 Merge "instrument volume controls" into mnc-dev 2015-06-18 19:57:50 +00:00
Jason Monk
aa2a19661d Merge "Fix some demo mode issues" into mnc-dev 2015-06-18 19:32:03 +00:00
Jason Monk
259e06f582 Fix some demo mode issues
Bug: 21919885
Change-Id: If79d76a2954b62e290691b1c2338d175fdbbffc5
2015-06-18 15:24:43 -04:00
Jason Monk
7f274f0e1d Merge "Fix opening secured networks from QS" into mnc-dev 2015-06-18 19:19:17 +00:00
Dan Sandler
4e78706f43 Patch up certain kinds of broken notifications.
Notifications in which the icon resource ID is changed after
Builder.build() is called (even, and particularly, as the
last step in the current implementation of
setLatestEventInfo()) were not having their icons properly
parceled. In these cases we now attempt to catch this at
parcel time and construct the necessary Icon object.

But wait! Parceling does not require a Context. So we don't
actually know which package to load the resource from.
Therefore we now allow an Icon to be constructed with an
empty ("") package name, which allows us to complete this
parceling task despite the fact that a Notification does not
know its own package name. (In case you attempt to load a
drawable for such an Icon, loadDrawable will spot the ""
package and instead substitute the Context from its
parameters to try to load the resource.)

As it happens, even though the Notification does not know
its own package name, BaseStatusBar does, because it was
provided at NM.notify() time and is therefore included in
the StatusBarNotification structure. So we can actually
patch up the Icon (if it is TYPE_RESOURCE) and be sure to
get the icon loaded out of the correct package.

While we've got the hood open, this change fixes a couple of
related problems:

  • Foreground service notifications synthetically
    constructed for naughty icon==0 notifications (which we
    are still allowing...FOR NOW) were losing the
    FLAG_FOREGROUND_SERVICE flag (because we're
    re-build()-ing them from scratch rather than rewriting
    the provided Notification object). Now we set the flag
    and hang onto the new notification for next time
    setForeground() is called.

  • We now allow media notifications to avoid getting bumped
    to the top of the notification list if they're
    PRIORITY_MIN. You might want to do that, I guess?

Bug: 21333763
Change-Id: Ia5d1f1acb594c7677bcc75ee3d624da4ffca671f
2015-06-18 15:12:44 -04:00
Selim Cinek
b0a8d2c4ae Merge "Fixed a potential bug where the keyguard could become empty" into mnc-dev 2015-06-18 18:43:16 +00:00
Selim Cinek
d6efd00a6a Merge "Canceling expand animations as well when starting QS expansion" into mnc-dev 2015-06-18 18:42:12 +00:00
Selim Cinek
4c2e9ab911 Merge "Fixed another crash with HUNs" into mnc-dev 2015-06-18 18:41:41 +00:00
Adam Powell
2a1f916418 Merge "Un-hide ViewGroup#onViewAdded/onViewRemoved" into mnc-dev 2015-06-18 17:20:44 +00:00
Adam Powell
6690d018b9 Un-hide ViewGroup#onViewAdded/onViewRemoved
These methods are generally useful for writing custom views, and by
exposing them we make it easier for custom view authors to still allow
app developers to use an OnHierarchyChangedListener since it will not
be occupied by a custom view's implementation.

Also move the actual dispatch to package-scoped dispatch methods so
that a developer forgetting to call super won't stop a listener from
functioning.

Bug 21866523

Change-Id: Ie2bb5e241d7c5a02a5033f33ecdaeb40aceb20b5
2015-06-18 10:19:18 -07:00
Jason Monk
cc4b31e22e Fix opening secured networks from QS
Bug: 21908788
Change-Id: I8d1957cc4e0c259b737c5a4d0633edbb1ff57c03
2015-06-18 12:37:03 -04:00
Selim Cinek
80c2abe5bb Fixed a potential bug where the keyguard could become empty
Bug: 21124013
Change-Id: Ia955b1426e13d47a8f191817d55615253012acb1
2015-06-18 03:17:30 -07:00
Selim Cinek
831941fdd9 Canceling expand animations as well when starting QS expansion
Bug: 21764741
Change-Id: I065a03e7d594459d8c271d3bd7eb104ac2065b01
2015-06-18 03:17:30 -07:00
Selim Cinek
e0890e5cdc Fixed another crash with HUNs
This time for real :)
Bug: 21868047

Change-Id: I0572dce7d7e5abdf806198b194ad2516a021ab0d
2015-06-18 03:17:30 -07:00
Winson Chung
8b9730f749 Merge "Fixing issue with recents not being hidden for translucent apps." into mnc-dev 2015-06-17 23:30:52 +00:00
Winson Chung
fe855d124b Fixing issue with recents not being hidden for translucent apps.
- When tapping home, we can't depend on the stack state to determine
  whether or not hide recents since there can be translucent windows
  above it.  In this case, we just dismiss recents directly since the
  receiver will only be registered while recents is visible.

Bug: 20110140

Change-Id: I6b796cc4cbd790aac9a0857549e34117adb808d8
2015-06-17 16:18:28 -07:00
Winson Chung
1bf9293501 Merge "Fixing a few accessibility issues." into mnc-dev 2015-06-17 22:59:31 +00:00
Winson Chung
83ea6f71eb Fixing a few accessibility issues.
- Fixing issue with accessibility focus being incorrect when animating from home
- Fixing issue with accessibility focus being reset too aggressively when the
  list is scrolled
- Ensuring that recents handles forward/backwards scrolling

Bug: 19997561
Change-Id: I042666775862f4a20e8f22960e1f34e45fc5664e
2015-06-17 14:31:50 -07:00
Chris Wren
e565ee6ccb instrument volume controls
Bug: 21474639
Change-Id: I48641ae778f4e274c0f67ca6491102d978d3cd5f
2015-06-17 15:27:38 -04:00
Selim Cinek
6857ffc940 Merge "Fixed a jump with the panel scrim" into mnc-dev 2015-06-17 18:23:08 +00:00
Jason Monk
f582027663 Merge "Don't reinflate signal icons unless we really need to." into mnc-dev 2015-06-17 18:17:18 +00:00
Jason Monk
f535cf0413 Don't reinflate signal icons unless we really need to.
Bug: 21791609
Change-Id: I5eb1b890f2298211b25afa0e2570f0ab49a45e0b
2015-06-17 12:52:43 -04:00
Geoff Mendal
641234c172 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-17 13:58:40 +00:00
Geoff Mendal
977fdc8e1c Import translations. DO NOT MERGE
Change-Id: If7f177f95be4ab365cf62a8dc080373a7ae0e27b
Auto-generated-cl: translation import
2015-06-17 08:58:03 -05:00
Jason Monk
f858f7034c Merge "Allow QS detail items to get bigger when text is large" into mnc-dev 2015-06-17 13:02:22 +00:00
Selim Cinek
3d395c69fa Fixed a jump with the panel scrim
Bug: 21764980
Change-Id: Ib09aa025143025178a9e21390f3a06b37a067e3e
2015-06-16 19:37:37 -07:00
Jeff Sharkey
df27d3bf30 Dismiss migration notification when wizard done.
Bug: 21830731
Change-Id: Ief1428cd1ee0885fbc026885e1907f7272810d0f
2015-06-16 14:35:50 -07:00
Jason Monk
caceba8b9f Allow QS detail items to get bigger when text is large
Bug: 19795867
Change-Id: I0fd927c63a363dcfcbb6a99fa9c1dac5c7019d60
2015-06-16 16:15:49 -04:00
Selim Cinek
892850396c Merge "Fixed a bug where the statusbar was still visible while dozing" into mnc-dev 2015-06-16 04:16:03 +00:00