Commit Graph

6771 Commits

Author SHA1 Message Date
Flavio Fiszman
1f31bc256e Merge "Merge "Simplify onNotificationClear signature" into sc-dev am: 491cbd85c8" 2021-02-25 13:51:47 +00:00
Peter_Liang
2be49c9be9 Add new floating action menu for Accessibility targets. (1/n)
Goals:
- Trigger actions of accessibility features would be grouped into the floating menu.

Patch action:
1. Use current Accessibility Target functions to get the corresponding data.
2. The position of the floating menu is at the bottom-right corner of the screen initially.
3. Support dark theme.

Bug: 173958541
Test: atest AccessibilityFloatingMenuTest AccessibilityFloatingMenuViewTest
Change-Id: I28e729520d4eb8ecb0bcc41d4de9d1499380e7f5
2021-02-25 11:16:49 +08:00
Flavio Fiszman
50606c9af2 Merge "Simplify onNotificationClear signature" into sc-dev am: 491cbd85c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676888

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If083b09fabf0ef94cfb25210262d9879d1ab8498
2021-02-24 22:56:52 +00:00
Flavio Fiszman
491cbd85c8 Merge "Simplify onNotificationClear signature" into sc-dev 2021-02-24 22:32:17 +00:00
Lucas Dupin
66f93c5964 Merge "Fix accent color not being applied" into sc-dev am: 832d7e37b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13683821

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2441e732f3acb7489b5d04615223bae64a7befce
2021-02-24 21:19:35 +00:00
Lucas Dupin
832d7e37b5 Merge "Fix accent color not being applied" into sc-dev 2021-02-24 20:19:16 +00:00
Lucas Dupin
e29458f134 Fix accent color not being applied
Test: adb shell cmd overlay list | grep systemui
Test: atest ThemeOverlayApplierTest
Fixes: 181082566
Change-Id: If1beed53eaddf28db80d2b51902d068c4a35c732
2021-02-24 09:51:56 -08:00
Jamie Garside
688850a823 Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev am: 5f630223cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676711

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45d29d69cae821d2228590cdb1cae3b32c34b3f5
2021-02-24 13:45:52 +00:00
Flavio Fiszman
462f2579d5 Simplify onNotificationClear signature
Change-Id: Ib944418dea78fb090c70206c34519f9248a02c04
Test: NotifCollectionTest and NotificationManagerServiceTest
Bug: 172575678
2021-02-24 13:31:45 +00:00
Jamie Garside
0f53fd20d5 Revert "Update the bouncer to be able to move to either side of a wide screen."
This reverts commit 868e770b82.

Reason for revert: Breaks password entry - b/180993584

Change-Id: I9a1771b795c90b1cfe6c2457d390ac53235c6c94
2021-02-23 19:24:29 +00:00
Flavio Fiszman
7925e130b1 Merge "Add Missed call People Tile" into sc-dev am: fff84a262c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13614955

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I840068809984b0fefe7244894d6c790cf845e405
2021-02-23 17:24:29 +00:00
Flavio Fiszman
fff84a262c Merge "Add Missed call People Tile" into sc-dev 2021-02-23 17:10:26 +00:00
TreeHugger Robot
68ac3f31dc Merge "Ensure that ProxCheck doesn't run a callback twice." into sc-dev am: 7a3fd41443
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13554580

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4cbe31d54564a62c502987cadfddeecb18f0c094
2021-02-23 16:29:24 +00:00
TreeHugger Robot
7a3fd41443 Merge "Ensure that ProxCheck doesn't run a callback twice." into sc-dev 2021-02-23 15:54:26 +00:00
Flavio Fiszman
592cb8d358 Add Missed call People Tile
Change-Id: I76904cff9f512525dbb2bf335409ff038287802f
Test: PeopleSpaceUtilsTest
Bug: 172576156
2021-02-23 12:54:15 +00:00
TreeHugger Robot
a9434fcb4d Merge "Disable ImageWallpaper related test due to EGL_BAD_CONTEXT error" into sc-dev am: 1cd9f06f69
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13612050

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I99b9aba8dd2ad4936f642d48ba2b577734111a16
2021-02-23 02:49:21 +00:00
TreeHugger Robot
1cd9f06f69 Merge "Disable ImageWallpaper related test due to EGL_BAD_CONTEXT error" into sc-dev 2021-02-23 02:28:21 +00:00
Fabian Kozynski
9f009b4a21 Merge "DeviceControlsTile deals with AVAILABLE_AFTER_UNLOCK" into sc-dev am: b86a4ca6d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13663400

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5616ee4c7b6790c3b38b97a3d9ed8c7136a61efa
2021-02-22 22:32:32 +00:00
Fabian Kozynski
b86a4ca6d6 Merge "DeviceControlsTile deals with AVAILABLE_AFTER_UNLOCK" into sc-dev 2021-02-22 22:00:23 +00:00
Jamie Garside
4aca66550d Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev am: 69b9601cf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13518732

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6a6ff8575f6c418cac790d88ea5d35e9ee0c1a78
2021-02-22 20:52:45 +00:00
Jamie Garside
69b9601cf5 Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev 2021-02-22 18:49:42 +00:00
Fabian Kozynski
5d39ba6eb8 DeviceControlsTile deals with AVAILABLE_AFTER_UNLOCK
In this case, the tile shows INACTIVE with a message indicating that the
device is locked and doesn't open the dialog on click

Test: manual
Test: atest DeviceControlsTileTest
Fixes: 180923843
Change-Id: I95cc0d3b04b940b71c56752f3598598ce51170f9
2021-02-22 13:12:42 -05:00
Julia Reynolds
88f56e4769 Merge "Bring back the SAW notification" into sc-dev am: 92e23aa512
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13630049

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53a1e516fefc37ffa1e9a458db5c7839bad86671
2021-02-22 18:02:56 +00:00
Julia Reynolds
92e23aa512 Merge "Bring back the SAW notification" into sc-dev 2021-02-22 17:56:52 +00:00
Soonil Nagarkar
514b570725 Merge "Added attribution tag to note listener" into sc-dev am: 7aa01124c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13563045

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f5abdec24ce6c2d2ebcf317e2a520c0b95e183a
2021-02-22 17:35:13 +00:00
Soonil Nagarkar
7aa01124c4 Merge "Added attribution tag to note listener" into sc-dev 2021-02-22 17:25:24 +00:00
Michał Brzeziński
57555440c1 Merge "Making notifications wider in split shade mode" into sc-dev am: e4b11be6c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13601945

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I44b277e75d919256bc938a7096b18aec776dfbbb
2021-02-22 16:01:17 +00:00
TreeHugger Robot
e4dfa8785f Merge "Move static calls in TunerService to use deps" into sc-dev am: 0622a76d72
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13553852

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1af36f4d5b95e57347e749f480d370d8254a4737
2021-02-22 16:00:45 +00:00
Michał Brzeziński
e4b11be6c8 Merge "Making notifications wider in split shade mode" into sc-dev 2021-02-22 15:44:14 +00:00
Jamie Garside
868e770b82 Update the bouncer to be able to move to either side of a wide screen.
I'd like to test other things (like tap makes the IME move), but to do
that means replacing the mock with a proper fake. That can come later,
but this at least tests that the flagging works correctly.

The changes between this and
commit cae34b8e22 is the bouncer height is
now measured using wrap_content, so the placement can be controlled
properly by the outer View (as the position of the bouncer changes
depending on the size of the screen).

This reverts commit cae34b8e22.

Test: Included
Bug: 170858298
Change-Id: I18428a6df9abf0e8e37c1c179be6843e4eee793c
2021-02-22 15:35:56 +00:00
TreeHugger Robot
0622a76d72 Merge "Move static calls in TunerService to use deps" into sc-dev 2021-02-22 15:35:18 +00:00
TreeHugger Robot
2c82a5067b Merge "Enable easier burn in testing" into sc-dev am: 781fa1804b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13619626

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I582c4919831a65decd5f53dd55b55e4b54005492
2021-02-22 14:38:17 +00:00
TreeHugger Robot
781fa1804b Merge "Enable easier burn in testing" into sc-dev 2021-02-22 14:22:57 +00:00
Michał Brzeziński
029dc8d7f3 Merge "Removing horizontal translation of shade for dual pane" into sc-dev am: 7a16dc9029
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13563292

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idb85eeb87ea66c44d85f96021dc21bc91faea62c
2021-02-22 13:05:54 +00:00
Michał Brzeziński
e6937a54e6 Merge "Simplifying mVerticalTranslationListener" into sc-dev am: 700621b509
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13562986

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic13adef1c36856058d1f51ac8535fd6484c497ba
2021-02-22 13:05:18 +00:00
Michał Brzeziński
7a16dc9029 Merge "Removing horizontal translation of shade for dual pane" into sc-dev 2021-02-22 12:37:53 +00:00
Michał Brzeziński
700621b509 Merge "Simplifying mVerticalTranslationListener" into sc-dev 2021-02-22 12:37:27 +00:00
TreeHugger Robot
93f97a1992 Merge "Notifications and quicksettings scroll independently in split shade" into sc-dev am: f48c8fc64a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13601405

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3e2ec074db02c8415b7d37ef9a8ff3b10f93f449
2021-02-22 12:03:55 +00:00
Alex Florescu
d01ed79c23 Notifications and quicksettings scroll independently in split shade
- Don't send overscroll from notifications to quicksettings
- Allow notifications to be scrollable even when quicksettings expanded
- Don't reduce notification stack height based on QS expansion

Bug: 171917882
Test: manual + atest NotificationPanelViewTest
Change-Id: I7d89f6325881974ef714c7a6f9e7268cd8f0b675
2021-02-22 09:22:11 +00:00
George Chang
c66f4118e3 Merge "Add tests for require unlock for NFC" into sc-dev am: 42f0a047df
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13612053

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9de50a43cf88246fbb8322f759d752b881f25f5e
2021-02-20 04:04:13 +00:00
George Chang
42f0a047df Merge "Add tests for require unlock for NFC" into sc-dev 2021-02-20 03:58:05 +00:00
Soonil Nagarkar
ab220fee70 Added attribution tag to note listener
Add attribution tag information for listeners on noteOps().

Bug: 180111317
Test: none
Change-Id: I39ae9af893b8c81b1d832c4c3dc876f16ffc301f
2021-02-19 13:17:59 -08:00
TreeHugger Robot
f267b14d0d Merge "Cache locations of where nearest child is." into sc-dev am: 7330bd4e8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13537743

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If31bd6c8cd4a821809740f89a29bca4e47e02966
2021-02-19 19:53:47 +00:00
TreeHugger Robot
7330bd4e8c Merge "Cache locations of where nearest child is." into sc-dev 2021-02-19 19:34:53 +00:00
Jeff DeCew
2809fa58a9 Merge changes from topic "phishing_templates" into sc-dev am: 7f9a369d63
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13607325

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8bbea8ef6477e7374c219c233ab84840df8cff75
2021-02-19 18:19:18 +00:00
Michal Brzezinski
a70a158645 Simplifying mVerticalTranslationListener
Changing mVerticalTranslationListener to single object instead of a list.

Test: atest SystemUITests
Bug: 171917882
Change-Id: I3206745db47c5e1b90748b5418046f070d9648a6
2021-02-19 18:13:00 +00:00
Julia Reynolds
b9c326baf8 Bring back the SAW notification
The SAW privacy indicator is no longer shown on notification templates,
so we should always show the system SAW alert notification

Test: SystemUiTests
Fixes: 168297179
Change-Id: Ife18aea49fd963beee1f5c16627f785fac2a113f
2021-02-19 13:10:24 -05:00
Jeff DeCew
7f9a369d63 Merge changes from topic "phishing_templates" into sc-dev
* changes:
  Refactor the SmartReply classes
  Filter out RemoteInput actions when Phishing action is present
2021-02-19 18:06:33 +00:00
Beverly
c38d1b4b3a Enable easier burn in testing
- postInvalidate on the UdfpsAnimationView instead of its parent so that
it will appropriately re-draw on AoD for burn-in
- enable a way for all burn-in elements to update location based on time
changes
- update burn in offset for udfps so it moves 21 px left/right/up/down

Bug: 178418596
Test: manual
Change-Id: I199301ef53cb1535c4fe3e7c1677403d8d896df3
2021-02-19 10:51:33 -05:00
Michal Brzezinski
a804b7f91f Making notifications wider in split shade mode
With this change quick settings take 40% of the width and notifications 60%.

Bug: 171917882
Test: Manual + Presubmit
Change-Id: I3907dfc4437fdf4137b777c8c193bd3ad7bccdfd
2021-02-19 13:25:42 +00:00