16261 Commits

Author SHA1 Message Date
Chris Wren
8a4014d2a4 Merge "Only report top peekingcard as visibile." into mnc-dev 2015-06-23 17:46:39 +00:00
Chris Wren
35a7c92fdf Only report top peekingcard as visibile.
Bug: 20751989
Change-Id: I741d5e6fc1dcbe036d2c8ac0d49e2e47fdf7a625
2015-06-23 13:45:00 -04:00
Selim Cinek
de1e281bbc Merge "Fixed a bug where the AssistComponent was outdated" into mnc-dev 2015-06-23 15:00:41 +00:00
Jason Monk
c13a651338 Fix crashes in QS tuner
Bug: 22027952
Change-Id: I571f115dfc2c936b54cdc2edaaf47e724758c669
2015-06-23 10:53:12 -04:00
Chris Wren
ca7febf4b8 Merge "add rank to notification visibility log" into mnc-dev 2015-06-23 12:43:09 +00:00
Selim Cinek
9a634991cf Fixed a bug where the AssistComponent was outdated
It also wasn’t updated when switching users.

Bug: 22005038
Change-Id: I45e58de5f48e3769f114ff830d62c287d2b04d4f
2015-06-23 01:11:25 -04:00
Vinit Deshpande
a0d929e505 Address API review comments
Added a flags field in ScanResult; along with flag
values and methods to read them.

Changed types of passpoint related fields.

Bug: 21342042
Bug: 21572290
Bug: 21343777

Change-Id: I413960de88b387853d11b9e10f92665e9c06a81b
2015-06-22 19:09:38 -07:00
Ian Pedowitz
c16a26a2b9 Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev 2015-06-22 23:01:10 +00:00
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
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
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
Makoto Onuki
6ddc34e578 Merge "Allow binary value in SettingsProvider" into mnc-dev 2015-06-22 19:51:28 +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
Makoto Onuki
3a2c3578ba Allow binary value in SettingsProvider
Now a text value will be written to "value" but a binary value will be encoded
in base64 and stored in "valueBase64".

A null value will have neither value nor valueBase64.

Bug 20202004

Change-Id: I1eae936ff38e3460dc76ca20cc38f8d7e5ec6215
2015-06-22 11:16:14 -07: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