Commit Graph

1280 Commits

Author SHA1 Message Date
Matthew Fritze
4406bff656 Merge "Pass Uri in SliceBroadcastRelay" into pi-dev am: cb20eb3a07
am: 3aa0ea25da

Change-Id: Ic4d9fed0e135e2ba55283162417642e5618d4a6a
2018-05-11 16:40:56 -07:00
TreeHugger Robot
cb20eb3a07 Merge "Pass Uri in SliceBroadcastRelay" into pi-dev 2018-05-11 22:05:36 +00:00
Lucas Dupin
30c419974e Merge "Do not hide keyguard message when fp" into pi-dev am: 2d2d79b92c
am: 24ef8f99ab

Change-Id: I86ae14bd8fd0f6c47dacca95163b38e6f741e18c
2018-05-11 11:15:50 -07:00
Lucas Dupin
29e796d26a Do not hide keyguard message when fp
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardPinBasedInputViewTest.java
Change-Id: I5d76b688b0eb7c1df6a36c1cb910f2b0ec98bc46
Fixes: 78235570
2018-05-11 09:22:39 -07:00
Kenny Guy
481bd8f3a1 Merge "Fix issue with compressed smart replies." into pi-dev am: 895ed11d03
am: 97511bc250

Change-Id: I040c40c8cc715065d880e41182ad9d2e931ab350
2018-05-11 07:39:03 -07:00
TreeHugger Robot
895ed11d03 Merge "Fix issue with compressed smart replies." into pi-dev 2018-05-11 14:19:40 +00:00
Beverly
23751f9ffc Merge "Cannot add null callbacks to ZenController" into pi-dev am: d87ad2d97c
am: 82649a8822

Change-Id: Iac667ad873d31b9d622b791be1ad9e3fbb2ebc47
2018-05-10 19:23:53 -07:00
TreeHugger Robot
d87ad2d97c Merge "Cannot add null callbacks to ZenController" into pi-dev 2018-05-11 02:03:55 +00:00
Rohan Shah
4e6d18c134 Merge "Fix notificationinfo test breakage" into pi-dev am: aba96e5556
am: edb8d66ea3

Change-Id: Ic8444878c73ca3d509f2a6b67abfc902e9fd69e9
2018-05-10 16:16:31 -07:00
Beverly
80313ca38f Cannot add null callbacks to ZenController
- In StatusBar: remove callback on destroy

Bug: 79418729
Test: atest ZenModeControllerImplTest
Change-Id: I92729b0c0414d0ed8f844371cbf357b613ced0b5
2018-05-10 17:13:42 -04:00
TreeHugger Robot
aba96e5556 Merge "Fix notificationinfo test breakage" into pi-dev 2018-05-10 21:04:41 +00:00
Rohan Shah
c6b0d54ba9 Fix notificationinfo test breakage
Bind no longer logs unnecessarily - log was moved over to the manager
already.

Test: Ran test
Fixes: 79533793
Change-Id: I1d893935fa93ff7dbb91e922ae2444c4ac42b046
2018-05-10 20:07:58 +00:00
Rohan Shah
c0084d71bc Merge "Move BH test to flaky and change it slightly" into pi-dev am: 8b74f55c41
am: 5ca9851ab6

Change-Id: I226d8b142e9530657cfe432db7ee96ffc3ceb641
2018-05-10 09:41:25 -07:00
Rohan Shah
8b74f55c41 Merge "Move BH test to flaky and change it slightly" into pi-dev 2018-05-10 16:20:18 +00:00
Kenny Guy
48ee6d6cc0 Fix issue with compressed smart replies.
Width overflows if we both remeasure due
to failing to squeeze and due to padding
changes.

Bug: 79225896
Test: atest SmartReplyViewTest
Test: manual - recieve notification from Inbox check reply buttons.
Change-Id: I8ef306bbb7e3732b433830f856257fbfedeb89c0
2018-05-10 12:45:39 +01:00
Rohan Shah
cd280b7307 Merge "Allow keep showing to bypass bouncer" into pi-dev am: 26f9e7a5d4
am: 325fbdcfd6

Change-Id: I0904717fc16038f15a62d297fd6e8366ed7d08d9
2018-05-09 23:03:33 -07:00
Rohan Shah
dd588c76e3 Allow keep showing to bypass bouncer
User experience improvement that alleviates the current bouncer bug with
the blocking helper (where users can't swipe after interacting with the
blocking helper).

Bug: 78222122
Test: Added test case, verified on device with lock screen pin + helper
Change-Id: I54806df8b960ea305b120aef6217a6b90f30590b
2018-05-09 20:43:33 -07:00
Rohan Shah
ae5fdf0993 Move BH test to flaky and change it slightly
Marked the test as flaky. Additionally, changed how mocks are created.
This may or may not affect the test's passing rate. Also updated the
double spy horribleness.

Bug: 79444334
Test: Ran atest, no functional changes
Change-Id: Ieb901a1702ab15bdf98f37cb4b37d5068882162d
2018-05-09 18:59:44 -07:00
android-build-team Robot
b60c3da57c Merge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev am: 6d4917b673
am: f2d1a07abe

Change-Id: Ib5d7f1606a90e0f99e7bd4890ee4265a2a268ab7
2018-05-07 18:22:03 -07:00
Lucas Dupin
2237146e26 Merge "Update date during time tick event" into pi-dev am: e22a7bc9d4
am: 2e9aeeaa64

Change-Id: I67a351f81865563981955f82ccf1b4c1568b1f27
2018-05-07 17:27:41 -07:00
android-build-team Robot
6d4917b673 Merge "Remove the clock view when DISABLE_CLOCK is set" into pi-dev 2018-05-07 22:05:40 +00:00
Lucas Dupin
9fedb89f66 Update date during time tick event
Remove extra broadcast action and use existing doze_time_tick alarm to
update slice.

Change-Id: If167c8d81e5f5a67050d7904ce2497c1bdb70e9a
Fixes: 77988364
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardStatusViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
2018-05-07 11:33:50 -07:00
Evan Laird
74435e6486 Remove the clock view when DISABLE_CLOCK is set
Gets rid of Floating Notification Syndrome™

The easiest way to see this is launching SUW or pinned-task mode with
debug.layout set to true, and see that there is no box containing the
clock in these modes

Test: visual;
Change-Id: I518bc04d2dca2fb56f13e0cebc475929edaf2c48
Fixes: 77630482
2018-05-07 14:21:15 -04:00
android-build-team Robot
92660191eb Merge "Add DND indicator to AOD" into pi-dev am: c6163bf636
am: b2ffa1ab94

Change-Id: Iada0039134eb7440f01d6d8dd9fd8f816d76800f
2018-05-04 15:05:04 -07:00
android-build-team Robot
c6163bf636 Merge "Add DND indicator to AOD" into pi-dev 2018-05-04 21:45:36 +00:00
Lucas Dupin
50ee06bee3 Merge "Update views when next slice is null" into pi-dev am: 88e264576a
am: 5ae43b4e39

Change-Id: I55ce1ebd406239bcecae1a05e97107e7d9fe80cb
2018-05-03 18:34:45 -07:00
Lucas Dupin
88e264576a Merge "Update views when next slice is null" into pi-dev 2018-05-04 01:14:10 +00:00
Julia Reynolds
03810df928 Merge "Hide some previously exempt notifications" into pi-dev am: afbc128d57
am: 8bef20f43b

Change-Id: Ieab41860dd1fcdddc44fd3a1bbeec9666d493e45
2018-05-03 15:47:41 -07:00
Julia Reynolds
25926af537 Hide some previously exempt notifications
Some notifications are exempt from DND visual suppression,
like foreground services. If a notification is tagged as a
category that's explicitly mentioned in DND settings (like calls),
exempt that notification from DND exemption, or, hide it.

Test: atest SystemUITests
Change-Id: I661e6d99d09adcb381aef04cccdf93c9810d19b2
Fixes: 78908945
2018-05-03 19:26:18 +00:00
android-build-team Robot
2e6d732a95 Merge "Revert "Update 'dnd is hiding notifications' view"" into pi-dev am: aeaefe91bc
am: 57d0060786

Change-Id: I7821e55c3b1495b65b4467ab8511a643c862919f
2018-05-03 07:06:33 -07:00
android-build-team Robot
aeaefe91bc Merge "Revert "Update 'dnd is hiding notifications' view"" into pi-dev 2018-05-03 13:46:56 +00:00
Julia Reynolds
34f14968b6 Revert "Update 'dnd is hiding notifications' view"
This reverts commit 85bad9b5bb.

Change-Id: Ic68475a8df0ae377c4fc357017b7d2a6b5311433
Fixes: 79155510
Fixes: 79156480
2018-05-03 12:40:20 +00:00
Matthew Fritze
429d27dd0b Pass Uri in SliceBroadcastRelay
Add the Uri as an extra to the Intent broadcast in the relay.

Test: runtest systemui
Bug: 70622039
Change-Id: I4942ecc9780a7814e3ac436e80034f76cb7bc6db
2018-05-02 19:43:39 -07:00
Selim Cinek
eb20982906 Merge "Fix incorrect icon alignment on shelf" into pi-dev am: 33540449fc
am: 5a647deab3

Change-Id: I7741ad0635a4ba46eab29718b9e2bfed5f307f9f
2018-05-02 17:57:14 -07:00
Lucas Dupin
3278aa86fc Merge "Fix NPE when casting" into pi-dev am: 9115d371c3
am: 40ee4178f4

Change-Id: I348116fdb5e6ebe5f9c72c53643d4a0d38bafe6f
2018-05-02 17:39:29 -07:00
Lucas Dupin
f39ce10e2a Update views when next slice is null
Otherwise invalid content would be presented after switching users

Test: manual, switch users, look at smart clock
Test: atest tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Change-Id: Id3bd5e9cfedd17870d00f7a55386661f5b22ff59
Fixes: 78891765
2018-05-02 15:00:02 -07:00
Selim Cinek
33540449fc Merge "Fix incorrect icon alignment on shelf" into pi-dev 2018-05-02 20:36:24 +00:00
Lucas Dupin
9115d371c3 Merge "Fix NPE when casting" into pi-dev 2018-05-02 20:20:51 +00:00
Lucas Dupin
8b77a3b84b Add DND indicator to AOD
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Test: manual
Bug: 78445133
Change-Id: If3a9d2b36e4a06b775c77b9d02b5eaa83f7088a3
2018-05-02 12:18:53 -07:00
Lucas Dupin
0cf5e4a065 Fix NPE when casting
We didn't have any tests that guarantee that the keyguard casting flow
wouldn't be broken by updates on KeyguardStatusView.
Such test was created

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardPresentationTest.java
Change-Id: I44f66be770ea2263fbf183bc438d1cedaa6f589a
Fixes: 71696859
2018-05-02 11:22:05 -07:00
Dan Sandler
eb18cffdc5 resolve merge conflicts of e323532e81 to master
Bug: none
Test: just a compile fix
Change-Id: Iec4989e84126f1c5695a8b284f222946c74886e1
2018-05-02 17:52:00 +00:00
Milo Sredkov
c942581f29 Merge "Keep the notification shade open for smart replies" into pi-dev am: f87b98880e
am: 1a4c81a87a

Change-Id: I440362c6bfd5492db76a70f6509a12fd94431fa2
2018-05-02 06:13:53 -07:00
Daniel Sandler
a1c148fb1a Merge "SystemUI heap monitor & hprof dump tile." into pi-dev 2018-05-02 13:03:20 +00:00
Milo Sredkov
e433e9b5a2 Keep the notification shade open for smart replies
Currently when the user taps on a smart reply button from a locked
screen, we ask for a pattern/password and then close the notification
shade. This is inconsistent with the unlocked case and with how inline
replies are handled.

Set mLeaveOpenOnKeyguardHide to true when handling smart reply clicks.
Also simplify and rename the method in KeyguardDismissHandler to make
this new behaviour clearer.

Bug: 77841506
Test: Tap on a smart reply from the lockscreen, then unlock.
Change-Id: If1dab2a4b0d93a512c27e6d8a870289f64c7b63d
2018-05-02 10:39:56 +01:00
android-build-team Robot
3e99f41248 Merge "Request focus when pin is visible" into pi-dev am: a74dd692aa
am: 9ede3cc3bd

Change-Id: I5237fe3cfacb79c04fc91393ee7e7e882868614f
2018-05-02 00:48:51 -07:00
android-build-team Robot
a74dd692aa Merge "Request focus when pin is visible" into pi-dev 2018-05-02 07:28:33 +00:00
Lucas Dupin
7065900289 Request focus when pin is visible
Change-Id: Idfa7f0ea7f989de95030ed9dbd0ac4b45abc8155
Fixes: 77963692
Fixes: 78187153
Fixes: 78235570
Fixes: 78887466
Test: atest tests/src/com/android/keyguard/KeyguardPinBasedInputViewTest.java
Test: atest tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: atest android.server.am.ActivityManagerDisplayLockedKeyguardTests#testDismissKeyguard_whileOccluded_secondaryDisplay
Test: atest -dt android.server.am.KeyguardLockedTests#testEnterPipOverKeyguard
Test: go/sysui-bouncer-tests
2018-05-01 23:01:08 -07:00
shawnlin
4fbeac4381 Fix incorrect icon alignment on shelf
ExpandableNotificationRow set the scrollX of notification icon in shelf while the notification is
swiped, but didn't set it back when reset without animation(ex: screen
off device).

Reset the scrollX of icon in shelf.

Test: runtest systemui
Change-Id: I05a428a7502de1618a7929b71a832c9e945a6aff
Fixes: 77569193
2018-05-02 11:48:48 +08:00
Dan Sandler
4d90d1ede7 SystemUI heap monitor & hprof dump tile.
Adding the tile to your active set will start a continuous memory tracker,
updating the tile every minute with the latest pss value. Tapping the tile
will pull a full heap dump, zip it, and share it via ACTION_SEND.

Additionally, @integer/watch_heap_limit can be set to the heap size (in KB)
at which ActivityManager will automatically generate a heap dump and notify
the user when it's ready.

Available only on IS_DEBUGGABLE builds. Supplies limited. Order now!

Bug: 76208386
Test: atest com.android.systemui.util.leak.GarbageMonitorTest
Test: runtest systemui
Change-Id: I0434dd7dc330784c750469b013e40b31ef92638d
2018-05-01 21:51:15 +00:00
android-build-team Robot
0a8f3a5335 Merge changes from topic "jr-onboard" into pi-dev am: fd7d5779c3
am: aea7f7913e

Change-Id: I44dc43978aeaa8f483fc90674b8f0752adb18aa0
2018-05-01 11:04:55 -07:00