38391 Commits

Author SHA1 Message Date
TreeHugger Robot
f45cbb9a8a Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-09-13 19:25:08 +00:00
TreeHugger Robot
5483642730 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-09-13 19:12:55 +00:00
Andrew Lehmer
1952fcffc3 Merge "AOD: Prewarm display while waiting for brightness sensor" into oc-mr1-dev 2017-09-13 18:59:00 +00:00
Bill Yi
01b24fa85e Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I3492feda7b5cb3fdec702165f8990f546b0d9896
2017-09-13 08:38:39 -07:00
Bill Yi
2f85f69792 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I071832de264161e255329c1fa0a690e3a36aa12e
2017-09-13 05:54:50 -07:00
TreeHugger Robot
4562ecebc6 Merge "Fix jank issue in Settings caused by fetching tile info" into oc-mr1-dev 2017-09-13 03:12:57 +00:00
TreeHugger Robot
dd68a88a51 Merge "Do not play sounds when unlocking from AoD." into oc-mr1-dev 2017-09-13 02:24:50 +00:00
Kevin Chyn
953a464dd1 Merge "Log fingerprint unlock mode" into oc-mr1-dev 2017-09-13 01:07:51 +00:00
Lucas Dupin
cecc7c233a Do not play sounds when unlocking from AoD.
Playing tap target sounds when unlocking from AoD
make them overlap. Let's skip taps and only play
the "unlock" sound.

Change-Id: I381e13604c61938ceceac903a8e2a52bf9192bbe
Fixes: 64411995
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
2017-09-12 16:53:02 -07:00
Kevin Chyn
0b508b4c86 Log fingerprint unlock mode
It's hard to determine why sometimes after OTA/reboot the first FP
authenticated doesn't cause bouncer to appear. Suspect calculateMode()
is returning either MODE_NONE or MODE_ONLY_WAKE but hard to verify without
log

Bug: 62444020

Test: build and look at log
Change-Id: Ie0dd9cc88bf300b06f1c85124fe98de6d3a1e6ba
2017-09-12 15:21:42 -07:00
Ajay Nadathur
b0801642b3 Fix jank issue in Settings caused by fetching tile info
bug: 62713030
Test: Manually tested
Change-Id: I24c78d35c66cc2de7c3e43b1a7f7c0bda22545a6
2017-09-12 22:13:03 +00:00
Eric Schwarzenbach
bd44c9e69a Fix TimestampedScoredNetwork parceling logic.
The old implementation used incompatible read/write logic. Fixes the
constructor to use readParcelable() instead of
CREATOR.createFromParcel(). Adds tests.

Bug: 65379063
Test: make -j40 RunSettingsLibRoboTests

Change-Id: I6a6c183fe065f36fcc8d4a25637f98dfdaad350d
Merged-In: I6a6c183fe065f36fcc8d4a25637f98dfdaad350d
2017-09-12 10:58:07 -07:00
TreeHugger Robot
3163ba7458 Merge "Fixed keyguard inflation problem" into oc-mr1-dev 2017-09-11 23:43:51 +00:00
Kevin Chyn
c6e9bb9da0 Merge "Allow FP authentication while screensaver (not AOD) is on" into oc-mr1-dev 2017-09-11 21:33:32 +00:00
Lucas Dupin
6865b71e1a Fixed keyguard inflation problem
Inflating a keyguard while dettached from window would
raise a NullPointerException since window insets wouldn't
be available at the time.

Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Change-Id: I7f48a62807877537814e6f34db1e6fa6fbec7923
Fixes: 65495303
2017-09-11 14:20:51 -07:00
Selim Cinek
b338f034e9 Merge "Fixed an issue where a notification could flicker" into oc-mr1-dev 2017-09-11 19:58:17 +00:00
Zhi An Ng
f4849e9848 Merge "Check mKeyguardUserSwitcher for null" into oc-mr1-dev 2017-09-11 19:32:10 +00:00
Selim Cinek
cd6b0e4823 Merge "Fixed a bug where parts weren't scrollable" into oc-mr1-dev 2017-09-11 19:03:28 +00:00
Kevin Chyn
cbda08c5ec Merge "Update UnlockMethodCache when keyguard visibility changes" into oc-mr1-dev 2017-09-11 18:53:52 +00:00
TreeHugger Robot
8e32aa1fc0 Merge "Fix nav bar color while QS customizing." into oc-mr1-dev 2017-09-11 18:52:49 +00:00
Kevin Chyn
36778ff37b Allow FP authentication while screensaver (not AOD) is on
FP authentication should be allowed whenever the screen saver is showing,
even if the device is not locked yet.

Fixes: 64537131

Test: 1) Disable AOD
2) Manually start screen saver from Settings
3) Before device is locked, touch FPS, device unlocks and wakes

Test: Do the same as the first test, but wait for the device to be locked
before touching FPS. Device unlocks and wakes

Test: Do the first two tests again with AOD enabled

Change-Id: Icd93a2e73d581e61b1c158b16de243722bd5680c
2017-09-11 11:44:13 -07:00
Ng Zhi An
2ade51b5ae Check mKeyguardUserSwitcher for null
Bug: 65397789
Change-Id: Iaae968fae65182681492f635e9b09a4d15dcf897
Fixes: 65397789
Test: manual
2017-09-11 09:42:15 -07:00
TreeHugger Robot
1b0ca0899d Merge "TV PIP: Keep the PIP at the bottom for RTL language" into oc-mr1-dev 2017-09-11 06:28:35 +00:00
Kevin Chyn
94f80354d2 Update UnlockMethodCache when keyguard visibility changes
When screensaver (not AOD) starts, the device is still "screen-on".
Keyguard can come up in the background, and if the user dismisses
screensaver, the cache will not have been updated but the device now
requires authentication

Fixes: 65487788

Test: 1) go to settings, start screensaver
2) wait 5s for keyguard to come up beneath
3) tap on screen to dismiss screensaver
4) lock or fingerprint icon should be shown, instead of unlocked icon

Change-Id: I160e6fa03ea4f72e792c2428d4246e7f3a60ace4
2017-09-08 18:02:41 -07:00
TreeHugger Robot
e501718337 Merge "Fixed a flakey test" into oc-mr1-dev 2017-09-08 23:08:45 +00:00
Selim Cinek
c8c4cf94c6 Fixed an issue where a notification could flicker
Because of the fake shadow, the shelf could flicker in when
the last notification was activated.

Change-Id: I5fcf4dcec9fa73821402e6a3147922bbecb9a992
Fixes: 65022491
Test: click on last notification on keyguard, observe.
2017-09-08 15:34:39 -07:00
Selim Cinek
34ed7c002b Fixed a bug where parts weren't scrollable
The shelf and small notifications weren't scrollable
because we were requiring a minimum height. This
is not needed in order to scroll and it is removed.

Fixes: 65298525
Test: scroll on shelf in the shade, it should work now.
Change-Id: I74f522c94198c2337d324f087c3d2cf1370b5116
2017-09-08 15:04:43 -07:00
Daniel Nishi
ea842b4e4c Merge "Cap user-visible cache size at quota." into oc-mr1-dev 2017-09-08 21:42:56 +00:00
TreeHugger Robot
7e03612659 Merge "Fixed the icon clipping of the notification shelf" into oc-mr1-dev 2017-09-08 21:14:01 +00:00
TreeHugger Robot
b98eeb2552 Merge "Update QS if the content gets stale" into oc-mr1-dev 2017-09-08 20:55:05 +00:00
Selim Cinek
21f336614c Fixed a flakey test
Since the test could be off the UI thread, cancelling
would not be synchronized properly.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Icfb02b637b76cdfb853c88130eabddf75203909b
Fixes: 65031224
2017-09-08 13:24:21 -07:00
TreeHugger Robot
b85cba311f Merge "Fixes recents entrance animation when launching before onStop happens" into oc-mr1-dev 2017-09-08 19:47:52 +00:00
Daniel Sandler
6d6cf285ea Merge "Cat rescue." into oc-mr1-dev 2017-09-08 16:41:38 +00:00
Jason Monk
1c6116cbbb Update QS if the content gets stale
For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.

Test: runtest systemui
Fixes: 34804413

Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
2017-09-08 10:33:11 -04:00
Jaewan Kim
3aae0ce90e TV PIP: Keep the PIP at the bottom for RTL language
Bug: 64840268
Test: Manual
Change-Id: I9d23854e51a19e6afef21c603634e57e126b7c14
2017-09-08 18:40:29 +09:00
TreeHugger Robot
60d670e826 Merge "Add method to update tile's remoteview using summaryUri" into oc-mr1-dev 2017-09-08 06:36:44 +00:00
TreeHugger Robot
6d753c88d9 Merge "Alternative fix for preventing PiP from screenshot sharing." into oc-mr1-dev 2017-09-08 05:48:58 +00:00
Bryan Eyler
9e009bb07d Merge "Add spacing in QS footer and user switcher." into oc-mr1-dev 2017-09-08 05:28:31 +00:00
Bryan Eyler
42aed466ae Merge "Add username beside user switch." into oc-mr1-dev 2017-09-08 05:27:52 +00:00
TreeHugger Robot
8823588e36 Merge "Always enable nav and status bar opaque/translucency" into oc-mr1-dev 2017-09-08 02:38:59 +00:00
TreeHugger Robot
17e4bed28f Merge "Fixes seascape recents task centering for low ram devices" into oc-mr1-dev 2017-09-08 02:21:21 +00:00
TreeHugger Robot
7560cdfbea Merge "Updates the background of the clear all button for low ram devices" into oc-mr1-dev 2017-09-08 02:09:04 +00:00
Selim Cinek
b41e47f55d Merge "Changed the accessibility experience for notifications" into oc-mr1-dev 2017-09-08 01:56:49 +00:00
Selim Cinek
6eaacf25aa Fixed the icon clipping of the notification shelf
Before the icon wasn't clipped to it's notification container
and could go out of bounds. We're now clipping it to it's
surrounding notification.

Change-Id: I1b9a3650eb3e3f0bcd7d7cef087afb7cc41ccf62
Fixes: 63477094
Test: add notifications, observe icon animations, better clipping
2017-09-07 18:55:25 -07:00
Winson Chung
ed376a36a3 Alternative fix for preventing PiP from screenshot sharing.
- Revert 942a85c6d608dd6a4a31937fe0b57ae43105d5b2
- Use a more specific fix for the triggering of PiP from the SysUI
  screenshot share intent.

Bug: 63984385
Bug: 63581685
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: Click share on the screenshot action, ensure activity below does
      not enter PiP
Change-Id: Id8041d50dd429030c20940dca19e5c62bbc0c6a4
2017-09-07 17:52:37 -07:00
Matthew Ng
e6b393b1a9 Always enable nav and status bar opaque/translucency
Removed the logic to enable or disable translucency and have it fully
enable all the time. Having it on has very or no impact on RAM.

Test: boot device and look at nav and status bar
Change-Id: Id9e613abc689ab8c1b53424aa92e864f75f8ed02
Fixes: 65286386
2017-09-07 23:42:16 +00:00
Selim Cinek
ecd0e1b2b1 Changed the accessibility experience for notifications
The expand button is now not labeling the notification
anymore since it was too wordy.

Change-Id: I14374b1a97389b8441fdf44eb4993954e765e89f
Fixes: 65123834
Test: use talkback and navigate to expand button, verify not speaking notification anymore
2017-09-07 15:45:27 -07:00
Matthew Ng
3a5ec52af1 Fixes seascape recents task centering for low ram devices
Added missing system insets left to the calculation.

Test: manual - go to recents and rotate to seascape
Change-Id: I25cd2f35b81e350e2934859423985257c4d6daea
Fixes: 65420616
2017-09-07 14:43:40 -07:00
TreeHugger Robot
0424bb7dad Merge "Fixes clear all button disappearing after rotate on low ram device" into oc-mr1-dev 2017-09-07 21:14:17 +00:00
Jason Monk
2ef8ed6532 Fix crash in presubmit tests
Test: runtest systemui
Bug: 65289824
Change-Id: Ibbce459e5e87ea667e91d546b7568f9addbb1c66
2017-09-07 14:51:41 -04:00