Commit Graph

327574 Commits

Author SHA1 Message Date
TreeHugger Robot
0b8a985cd6 Merge "Update alignment for gear / snooze icons to shift when expanded" into oc-dr1-dev 2017-07-20 20:13:30 +00:00
TreeHugger Robot
99cc683647 Merge "Keyguard: Fix date and alarm clock letter spacing" into oc-dr1-dev 2017-07-20 20:05:44 +00:00
TreeHugger Robot
91a6a10195 Merge "Fixed a bug where shelf notifications were interactable" into oc-dr1-dev 2017-07-20 19:09:42 +00:00
Lucas Dupin
1f358f1885 Merge "Choose correct icon shade of grey" into oc-dr1-dev 2017-07-20 18:36:50 +00:00
Rob Carr
f62e79791b Merge "Fix incorrect SV calculation in non-RT codepath." into oc-dr1-dev 2017-07-20 18:32:31 +00:00
Lucas Dupin
6ebc218ad5 Choose correct icon shade of grey
Status bar icons should pick colors from icon themes instead
of lock screen text colors.

Test: Visual
Change-Id: I0460ec38c8193f6311a47b4774357d8d3347a8d2
Fixes: 63618424
2017-07-20 11:32:10 -07:00
Rob Carr
afe3eb81da Merge "Fix flicker when transiting activities without animation." into oc-dr1-dev 2017-07-20 18:23:25 +00:00
TreeHugger Robot
58b0e698fc Merge "Fixes issue where notification jumps when user is dragging and its updated" into oc-dr1-dev 2017-07-20 18:18:37 +00:00
TreeHugger Robot
61913f178e Merge "Fix sound rate limiting issue" into oc-dr1-dev 2017-07-20 18:04:02 +00:00
Adrian Roos
53d5cba0d2 Keyguard: Fix date and alarm clock letter spacing
These used to be all-caps, but now that they are not
the letters are spaced too far apart.

Adjusting to mach the ownerText.

Change-Id: Icacc0c2018793e834dcaa316156215ec7d7ecf40
Fixes: 63891134
Test: visual
2017-07-20 19:38:28 +02:00
Adrian Roos
29119b6f5f Merge "AOD: Prevent animations and rotations while going to sleep" into oc-dr1-dev 2017-07-20 16:02:55 +00:00
TreeHugger Robot
67c483fd12 Merge "Fix owner info to be center-aligned" into oc-dr1-dev 2017-07-20 15:52:35 +00:00
Geoffrey Pitsch
3ca605e28c Merge "Allow apps to downgrade importance in createNotificationChannel" into oc-dr1-dev 2017-07-20 15:33:41 +00:00
TreeHugger Robot
6c5ce43b39 Merge "AOD: Hide owner info on ambient display" into oc-dr1-dev 2017-07-20 15:28:05 +00:00
Benjamin Miller
aeb503f7ca Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev
am: baa85250d4

Change-Id: I553b5b775cbdb42020405dfcc1b18032d4777597
2017-07-20 14:05:31 +00:00
Benjamin Miller
baa85250d4 Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev 2017-07-20 13:58:15 +00:00
Adrian Roos
7c89480c0e AOD: Prevent animations and rotations while going to sleep
A recent change allowed animations while the screen is
turning on, but not fully turned on; this allows rotations
while the device is going to sleep though. To prevent that,
we now disallow animations if the device is going to sleep too.

In addition, we also prevent the rotation animation when the screen
is not fully on or non-interactive.

Change-Id: I9b84f68a02a07067e48b11c008bcaf4bcb7c41a0
Fixes: 63760853
Test: Turn phone to landscape on an app that can rotate. Press power button. Verify AOD shows without a rotation; go/wm-smoke
2017-07-20 13:24:52 +00:00
Julia Reynolds
65b85cf3a2 Fix sound rate limiting issue
Don't count notifications that were muted by some other criteria
(like dnd or group alerting) against an app

Test: runtest systemui-notification
Change-Id: I9c94d342400306c2618c458e2ad530cd9373b3b8
Fixes: 63819441
2017-07-20 09:19:20 -04:00
Adrian Roos
8e130f08be AOD: Hide owner info on ambient display
Change-Id: Iea27b111b4025e2ad4b9cd0139f18f1653ca17dc
Fixes: 63800919
Test: Set a dark wallpaper, set owner info; go to AOD, verify that owner info is not visible.
2017-07-20 15:14:25 +02:00
Adrian Roos
4757c8ccf8 Keyguard: only show after screen fully turned off
Fixes an issue where the keyguard was displayed before the screen
was turned off fully, causing the AOD screen to briefly show during
the screen off animation.

Change-Id: Idc4621995bd67c1db255fab5a8de60d3aeef5d18
Fixes: 63526727
Test: Turn screen off. Make sure the AOD clock is not visible
2017-07-20 13:39:17 +02:00
Adrian Roos
731d4dfe60 StatusBar: Switch status bar to using the new lifecycles
Also removes some now unneeded cruft from StatusBarKeyguardViewManager.

Bug: 62446740
Test: Try unlocking phone with fingerprint and regularly from all kinds of states (AOD1, AOD2, non-AOD ambient display)
Change-Id: I3560615ce77f0c2ad9944832baaa568c300af9bb
2017-07-20 13:39:16 +02:00
Adrian Roos
d3878b5e12 Merge "Keyguard: Factor out Screen and Wakefulness lifecycles" into oc-dr1-dev 2017-07-20 11:22:39 +00:00
TreeHugger Robot
57c60d3b8c Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-20 10:20:21 +00:00
TreeHugger Robot
3f9462d6a3 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-20 09:53:20 +00:00
TreeHugger Robot
6564d7d123 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-07-20 09:48:53 +00:00
Wale Ogunwale
8cee0336bb Don't move stack to bottom when creating task at bottom
When creating a task, only move the parents of the task if we are creating
the task at the top of the stack. i.e. creating the task at the top of its
stack will move the stack forward and creating the task at the bottom of
the stack shouldn't move the stack backwards. Creating a task at the bottom
is used for things like restoring a task from recents to use for other things
and for background user, so shouldn't affect visibility of its parent stack.

Change-Id: Ifcaf7c5a95294631dff675ac5c7d87f059b1792a
Fixes: 62352722
Test: go/wm-smoke
(cherry picked from commit 1f5b92fd53)
2017-07-20 07:43:55 +00:00
Bill Yi
a7a70f7e10 Import translations. DO NOT MERGE
Change-Id: I2ed6f707aa5196125419a43b85be6b9644364c24
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 21:48:02 -07:00
TreeHugger Robot
acdcf37e4b Merge "Revert disabling of eSIM wipes/retains." into oc-dr1-dev 2017-07-20 04:24:50 +00:00
Philip Quinn
c3a503d8fd Ping the StatusBar about power key events.
Bug: 63183852
Test: runtest systemui

Change-Id: I5d8209396e3e761b404c1071a7004f34c6e6c927
2017-07-20 03:51:51 +00:00
TreeHugger Robot
8d51d3e512 Merge "WifiInfo - document packet counters and rates" into oc-dr1-dev 2017-07-20 03:49:56 +00:00
TreeHugger Robot
5512504bba Merge "Fix format of subsystem power stats" into oc-dr1-dev 2017-07-20 02:37:56 +00:00
Philip Quinn
1659b400b5 Expose KeyguardMonitor.isOccluded().
Bug: 63806767
Test: runtest systemui

Change-Id: I36b96974c7a27e31ddbc3e8cdddf2516cce87b21
2017-07-20 01:27:26 +00:00
Bill Yi
2803d3a62c Import translations. DO NOT MERGE
Change-Id: I6f4be8da1bf25632b93d9ece8ae01dedeba2e568
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 18:13:39 -07:00
Christine Franks
3789b629c7 Merge "Add config_demoModePackage to symbols" into oc-dr1-dev 2017-07-20 01:04:51 +00:00
TreeHugger Robot
7bd4b3912b Merge "proto: add system message descriptor for Wi-Fi wrong password notification" into oc-dr1-dev 2017-07-20 00:46:05 +00:00
Selim Cinek
51d21973a0 Fixed a bug where shelf notifications were interactable
Even if the notifications were clipped fully they were still
interactable and could be expanded into the shelf.
This could lead to weird scrolling positions and other things.

Test: manual, try expanding when qs is expanded
Change-Id: I764a20ba83b19ca9c9c2cb311a5abb9d272c6feb
Fixes: 62476893
2017-07-19 17:42:51 -07:00
TreeHugger Robot
7b3bd1d547 Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev 2017-07-20 00:18:20 +00:00
Christine Franks
b589d7b198 Add config_demoModePackage to symbols
Bug: 62712426
Test: make -j100
Change-Id: I95a398a74d273d0aa7639989a367e902b305fa6c
2017-07-19 17:13:29 -07:00
Jeff Davidson
e05f37e0a6 Revert disabling of eSIM wipes/retains.
This is a revert of change I414a16cde11e76ccc390e7a63a6803f5b402fe78.
As an additional safety latch, we bypass all logic (either wipe or
retain) if the eSIM has never been provisioned. An unprovisioned eSIM
cannot possibly have profiles - indeed, we don't show the "Wipe eSIM"
checkbox in this case - so there's no reason to tell the LPA to retain
them.

Bug: 63693573
Test: TreeHugger + factory reset local test
Change-Id: I1fea50db317388e81823bf1bd0977ffe787a05e0
2017-07-20 00:01:33 +00:00
TreeHugger Robot
f113a07d9e Merge "Fix snooze not dismissing when it should" into oc-dr1-dev 2017-07-20 00:00:46 +00:00
Seigo Nonaka
e6685b2bcd Merge "Fix race condition of removing surface." into oc-dr1-dev 2017-07-19 23:54:11 +00:00
Selim Cinek
8ffa981686 Merge "Reducing bitmap sizes in notifications" into oc-dr1-dev 2017-07-19 23:41:44 +00:00
Lucas Dupin
b0bf1d479f Merge "Smoother system bars color transition" into oc-dr1-dev 2017-07-19 23:32:04 +00:00
Ahmed ElArabawy
307edcd9c2 Fix format of subsystem power stats
The Subsystem power stats string in batteryStats dumpsys has an extra
newline that is causing PowerBug to skip the line when parsing the
history information.
Also, the string for subsystem power stats is missing a heading title
and has some redundant text

This commit fixes these format errors so powerbug can read and parse that
line successfully

Bug: 63447034
Test: Manual testing + Read the bugreport by historian and verify output

Change-Id: Idf971823dd5f769e653b4788b00fc025593d0d3d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-07-19 16:25:46 -07:00
Sungsoo Lim
925abb706e Merge "Type check before casting from CookieHandler to CookieManager" into oc-dr1-dev 2017-07-19 22:41:02 +00:00
TreeHugger Robot
1a7d4c25b3 Merge "Select correct oat/odex when pinning the Camera APK" into oc-dr1-dev 2017-07-19 22:40:32 +00:00
Bill Yi
b4e2f04b53 Import translations. DO NOT MERGE
Change-Id: I33e4b0269d92dd0dcca49ac2ff9f752713683c2e
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 15:34:38 -07:00
TreeHugger Robot
1da6af31ff Merge "Add Configuration to APF Policy" into oc-dr1-dev 2017-07-19 22:02:09 +00:00
Mady Mellor
32343e6bd9 Fix snooze not dismissing when it should
Simply check whether the guts is a leavebehind, if it is allow it to
be dismissed.

Test: manual - snooze a notification, touch outside note that it disappears
             - show notification controls on a notification that will
               be removed, note that the controls remain, once 'done' is
               hit the notification is removed
Bug: 63788509
Change-Id: I42c97239f4e3e17f2e69322c94bd8e8f9d7f0737
2017-07-19 11:47:38 -07:00
TreeHugger Robot
4dfb200d1b Merge "Default gradient should be the dark version" into oc-dr1-dev 2017-07-19 18:40:38 +00:00