16245 Commits

Author SHA1 Message Date
Chris Wren
d1dbc92d67 add rank to notification visibility log
Only sysui knows the true rank, since it can (and does) reorder things.
The visibility logs are down in the service because it has other bits of data.

Bug: 21395744
Change-Id: Ibf9479dc2306fb27fb5df3bf21e161478d36d587
2015-06-22 16:30:17 -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
3862452f30 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-22 14:01:10 +00: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
Geoff Mendal
70b4edff24 Import translations. DO NOT MERGE
Change-Id: Ifd91f44e7bb3ea8577d2054394d4e6b64c488f2b
Auto-generated-cl: translation import
2015-06-22 08:51:18 -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
Vinit Deshpande
edb832271b Merge "Fix access point list jumping around in WifiSettings" into mnc-dev 2015-06-20 00:24:33 +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
Wei Liu
940335ba5b Merge "resolved conflicts for merge of 1dac6bd9 to mnc-dev" into mnc-dev 2015-06-19 05:54:54 +00:00
Wei Liu
9fbee9ba98 resolved conflicts for merge of 1dac6bd9 to mnc-dev
Change-Id: I000b35f5e2658a065c780396254bcb88f1cbce5e
2015-06-18 22:52:37 -07:00
Selim Cinek
a353528c79 Merge "Added a message to the keyguard bouncer" into mnc-dev 2015-06-19 01:40:39 +00:00
Sanket Padawe
30a79ec190 Merge "Set default PBAP checkbox state to false (checkbox unselected)." into mnc-dev 2015-06-19 01:03:36 +00:00
Sanket Padawe
ceeaef3852 Set default PBAP checkbox state to false (checkbox unselected).
Bug: 20488109
Change-Id: I6259ea8d048cbface2ba63b8c1077af12d0fee1b
2015-06-18 17:56:08 -07:00
Wei Liu
1dac6bd9fb am ae363d2d: Wear doesn\'t need Shell to send notification when bugreport captured.
* commit 'ae363d2db4398a695606c254b88be8940139edd1':
  Wear doesn't need Shell to send notification when bugreport captured.
2015-06-18 23:24:41 +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
Alan Viverette
f1da9a1401 Merge "DO NOT MERGE: Remove DayNight theme" into mnc-dev 2015-06-18 22:21:49 +00:00
Alan Viverette
15d48a16f6 DO NOT MERGE: Remove DayNight theme
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.

Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
2015-06-18 15:15:16 -07:00
Vinit Deshpande
fcd4612f70 Fix access point list jumping around in WifiSettings
This happens because the scan times are very aggressive
(to save power); and we don't find all APs on each scan.
So on each scan, some APs are considered lost and some
other are considered found; resulting in reordering the
list.

This change fixes that by requiring 3 scans to confirm
absence of an AP.

Bug: 7263326

Change-Id: I04f61ec5e5aa1589f457645acbf538c7e275a4bf
2015-06-18 13:41:16 -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
Tomasz Mikolajewski
41ce003934 Merge "Remove the action bar icon when there is no drawer enabled." into mnc-dev 2015-06-18 00:15:52 +00:00
Tomasz Mikolajewski
9ce9ffec9e Merge "Allow to customize title of the dialog." into mnc-dev 2015-06-17 23:51:07 +00: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
Tomasz Mikolajewski
0e591f95bd Allow to customize title of the dialog.
TEST=adb shell am start -a android.intent.action.OPEN_DOCUMENT -e
     android.intent.extra.TITLE 'Upload!' -t "text/plain"
BUG=19150996

Change-Id: Ibded6cfaa2de3698c5eada154efbee2b323464d4
2015-06-17 16:12:14 -07:00
Winson Chung
1bf9293501 Merge "Fixing a few accessibility issues." into mnc-dev 2015-06-17 22:59:31 +00:00
Wei Liu
ae363d2db4 Wear doesn't need Shell to send notification when bugreport captured.
b/19179040

Change-Id: Iec74e1e55adee16c8674f28a6e7d697499b85acf
2015-06-17 15:32:05 -07: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