Commit Graph

663204 Commits

Author SHA1 Message Date
Garfield Tan
4140b2ee39 Merge "Add a minimal FreeformTaskListener" into sc-v2-dev am: 7e23f324dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15475655

Change-Id: I51add5776a23fe63978771aaa8a885b619289890
2021-08-06 16:44:04 +00:00
Garfield Tan
7e23f324dd Merge "Add a minimal FreeformTaskListener" into sc-v2-dev 2021-08-06 16:29:14 +00:00
Garfield Tan
9f2c659f1a Add a minimal FreeformTaskListener
WM team starts to remove functionalities that were made for unmanaged
tasks so take this step 1 to avoid regressions from this type of
changes.

Also remove UNSUPPORTED_WINDOWING_MODES because ShellTaskOrganizer can
handle all windowing modes now.

Bug: 192310211
Bug: 165794880
Bug: 165794636
Test: Maximize, drag and resize freeform windows.
Change-Id: If130b449fe6cf37c39f0e1424e4f23cdb2d33dd5
2021-08-06 16:25:14 +00:00
Beverly Tai
6dee4c63d3 Merge "Update lock icon and udfps padding" into sc-dev am: 2486a5f188 am: 759273e3e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446128

Change-Id: Icc9bb79468fff25b2dd1e31cb25f2b017b8999df
2021-08-06 15:29:24 +00:00
Beverly Tai
8ace666d8e Merge "Update lock icon and udfps padding" into sc-dev am: 2486a5f188 am: fe1e9e09bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446128

Change-Id: Iaab7c9150e6d4309ca76421cf7bd7cf758d63b54
2021-08-06 15:29:04 +00:00
Beverly Tai
fe1e9e09bf Merge "Update lock icon and udfps padding" into sc-dev am: 2486a5f188
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446128

Change-Id: I2b8853310fb9d18aa32a8cd1c644d314f2ca0533
2021-08-06 15:15:44 +00:00
Beverly Tai
759273e3e4 Merge "Update lock icon and udfps padding" into sc-dev am: 2486a5f188
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446128

Change-Id: I78c297d04db2cd2397182bbc053ffd320a703207
2021-08-06 15:15:14 +00:00
Beverly Tai
2486a5f188 Merge "Update lock icon and udfps padding" into sc-dev 2021-08-06 15:04:47 +00:00
Ming-Shin Lu
73386dff71 Merge "Revert "Fix flickering when switched to the task without IME shown"" into sc-v2-dev am: ba838a19e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15473418

Change-Id: I308f9e4ea7bba81b007aacf3ddcef33f5ee80806
2021-08-06 14:09:34 +00:00
Ming-Shin Lu
ba838a19e8 Merge "Revert "Fix flickering when switched to the task without IME shown"" into sc-v2-dev 2021-08-06 13:52:46 +00:00
Charles Chen
2dbed0c21e Merge "Fix IOOBE in forAllLeafTasksAndLeafTaskFragments" into sc-v2-dev am: 57f0866d49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15480932

Change-Id: I2b8e20c89540740a72baf55f2fd91e3a4bc9b576
2021-08-06 13:33:09 +00:00
Charles Chen
57f0866d49 Merge "Fix IOOBE in forAllLeafTasksAndLeafTaskFragments" into sc-v2-dev 2021-08-06 13:21:04 +00:00
Alex Florescu
5191a90b94 Merge "Fix test failure" into sc-v2-dev am: c26e08020c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472905

Change-Id: Id18f4eb8dc064f14e3aec42b4d9f8712131c9d7e
2021-08-06 10:36:45 +00:00
Alex Florescu
27cd93e623 Merge "Fix test when running on large screen devices" into sc-v2-dev am: 9ff10b86c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472904

Change-Id: I7f40327a507d1dc1c9818077f717296f1e568e5c
2021-08-06 10:35:41 +00:00
Alex Florescu
c26e08020c Merge "Fix test failure" into sc-v2-dev 2021-08-06 10:29:14 +00:00
Alex Florescu
9ff10b86c9 Merge "Fix test when running on large screen devices" into sc-v2-dev 2021-08-06 10:27:43 +00:00
Charles Chen
3cce8dd16f Fix IOOBE in forAllLeafTasksAndLeafTaskFragments
fixes: 195729546
Test: manual - reproducible step in b/195729546#comment1
Change-Id: I7a75a45518ad9633c4c314d2509ccedc30a062d8
2021-08-06 18:01:57 +08:00
Jason Chang
66baecb03a Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: 7bf628ff7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: Ib88b304ac10c50c84dd278a31a13b6961bb28bb7
2021-08-06 06:02:05 +00:00
Jason Chang
bd349dd1d8 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: b7edaae151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I6e9f55719a6122ecf9138eda80e23fbe32882325
2021-08-06 06:01:43 +00:00
Jason Chang
b7edaae151 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I2bf121d0ce528eca6960d4bf3d9181fb76ba73bb
2021-08-06 05:48:23 +00:00
Jason Chang
7bf628ff7c Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: Ia1c142195635b51b006a0773ab628291f03b2dc7
2021-08-06 05:48:10 +00:00
Jason Chang
20c38783c2 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev 2021-08-06 05:36:49 +00:00
Kevin Chyn
8b6bd81629 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: ada08b0668
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I480813892480f81ac4961515fedc396e16d27e2c
2021-08-06 05:05:09 +00:00
Kevin Chyn
11520c06be Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: c7b6619d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I762f6041a0d508c759312e07ec8c62233a1f9995
2021-08-06 05:04:55 +00:00
Kevin Chyn
c7b6619d05 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I76e9fa2971f214bff6ade49c99bc3d89c3745e09
2021-08-06 04:53:08 +00:00
Kevin Chyn
ada08b0668 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: Ib75de76b6a0fbedbe465072b7448208db10b4b0e
2021-08-06 04:51:56 +00:00
Kevin Chyn
755ee24f4c Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev 2021-08-06 04:38:05 +00:00
Ming-Shin Lu
7f2a6b011a Revert "Fix flickering when switched to the task without IME shown"
This reverts commit 7d9eb2b6f9.

Reason for revert: Regression happens in "com.instagram.android" that IME will cover the comment fields

Bug: 195385541
Bug: 192337037
Bug: 194746204
Change-Id: Id33459ab4f53f8bec2027759302dafc1a4f02fae
(cherry picked from commit 9eca14b72b)
2021-08-06 03:57:38 +00:00
Treehugger Robot
5bc4a51e7e [automerger skipped] Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70 am: ca00520ef2 -s ours am: c3ec7dcd6f -s ours
am skip reason: Merged-In I3936766ab8bdd45d59550dacb64bdc0323bb424d with SHA-1 80f2ad68b9 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: I57d2fc347604482e9de43597a18801770f076a54
2021-08-06 02:57:21 +00:00
Treehugger Robot
c3ec7dcd6f [automerger skipped] Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70 am: ca00520ef2 -s ours
am skip reason: Merged-In I3936766ab8bdd45d59550dacb64bdc0323bb424d with SHA-1 80f2ad68b9 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: Ic9e943eae096b776232a6f2cc81ce654e13ab388
2021-08-06 02:44:38 +00:00
Treehugger Robot
ca00520ef2 Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: Id3154a352ebc74b59e7099713c5c1bf6a1ee9232
2021-08-06 02:23:25 +00:00
Treehugger Robot
0d2b668d70 Merge "Broadcast Bluetooth state to OFF properly" 2021-08-06 02:01:01 +00:00
Louis Chang
66919a7c89 Merge "Supporting independent back nav while task embedded" into sc-v2-dev am: c3a85ce0c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390767

Change-Id: I78011888d8cf38dde79b9604c7300ee2631cb390
2021-08-06 01:54:46 +00:00
Jason Chang
413ab9d586 Fix one-handed mode tap app to exit doesn't work in factory boot
Root cause:
1. Design change "tap app to exit" -> always being true, and settings
remove this option.
2. Tuning performance, due to 1, no longer listens to the key change,
so we remove the listener.

Solution:
Change getSettingsTapsAppToExit() API to return default TRUE.

Bug: 195629000
Test: Build ROM and factory-reset to test
Test: atest WMShellUnitTests
Change-Id: Id3c265258ed28f7e0aa54505c339671885d28fa7
2021-08-06 01:53:39 +00:00
Louis Chang
c3a85ce0c5 Merge "Supporting independent back nav while task embedded" into sc-v2-dev 2021-08-06 01:42:47 +00:00
Kevin Chyn
a04d57070d Fix KeyguardUpdateMonitor auth lifecycle issues
This is split into two high-level issues which together cause
strange auth behavior on keyguard:

============= Issue 1 =============
For fingerprint, auth ends when:
1) Success
2) Error

For face, auth ends when:
1) Success
2) Reject
3) Error

This change ensures that cancellation signal is set to null upon
any of these conditions, so that there is never an opportunity of
using a stale CancellationSignal.

Furthermore, do not invoke stale cancellation signal when
starting authentication. In the off chance the bug is re-introduced,
or if some other situation can cause a cancellation signal to be
non-null when keyguard requests auth again (e.g. bad state management
in keyguard), do NOT invoke the stale cancellation signal's cancel
method. The framework already handles this case gracefully and will
automatically cancel the previous operation.

============= Issue 2 =============

We have a runnable that's scheduled to run after X ms if
ERROR_CANCELED is not received after cancel() is requested. However,
there are various bugs around that logic:

1) shared runnable for both fp and face, leading to unexpected
   and incorrect state changes (e.g. face does not respond to cancel
   within X ms, both fp and face will go to STATE_STOPPED, even though
   cancel() was never requested of fp
2) Always remove and re-add runnable when requesting cancel() though
   it should never occur that cancel() is requested in close temporal
   proximity, it never hurts to have the correct timeout before
   resetting the state.

Bug: 195365422
Bug: 193477749
Test: manual
Change-Id: I3702f41c8af7e870798f19c43012a26281a6632a
2021-08-05 18:04:35 -07:00
Evan Rosky
e5e523416c Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev am: 9751bc2fec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388785

Change-Id: Idea3cb030118f0346113cea0dd8cf22d2ac19ef6
2021-08-06 00:32:50 +00:00
Evan Rosky
9751bc2fec Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev 2021-08-06 00:15:30 +00:00
Lucas Dupin
089a67d01f Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 2b1f0f485b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: Ie5b2079994f6a6729e3350f6f8e1362ffba7a274
2021-08-05 23:15:37 +00:00
Lucas Dupin
8ae4674234 Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 8aea18699a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: I904dd44985a06f214287c4a28fcf714b401d89c2
2021-08-05 23:15:05 +00:00
Lucas Dupin
8aea18699a Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: I81c6ea0e6f53592654558208c65fae823ede1229
2021-08-05 23:05:50 +00:00
Lucas Dupin
2b1f0f485b Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: Iebdf6f10219b28bcd212766e967e766da4d9a28c
2021-08-05 23:04:53 +00:00
Lucas Dupin
c359d54b49 Merge "Do not run background animation without a Looper" into sc-dev 2021-08-05 22:44:56 +00:00
Tom Cherry
ea6d3dc079 Merge "DropBoxManager: use BufferedInputStream when using GZIPInputStream" am: 92889d10fe am: afeee6a12b am: 506bf91d21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1786608

Change-Id: I64c788061fb707b4e4b0266764e4a3da779fdc0e
2021-08-05 22:39:38 +00:00
Tom Cherry
506bf91d21 Merge "DropBoxManager: use BufferedInputStream when using GZIPInputStream" am: 92889d10fe am: afeee6a12b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1786608

Change-Id: I23ff5312e8e3f42415b744fbd9184d5e42646a3c
2021-08-05 22:24:21 +00:00
Tom Cherry
afeee6a12b Merge "DropBoxManager: use BufferedInputStream when using GZIPInputStream" am: 92889d10fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1786608

Change-Id: Ie10a838553bb3bf235321bc255713b20bf932aeb
2021-08-05 22:10:16 +00:00
Tom Cherry
92889d10fe Merge "DropBoxManager: use BufferedInputStream when using GZIPInputStream" 2021-08-05 21:56:02 +00:00
Beverly
83dde708cc Update lock icon and udfps padding
By default, use 48px. This value can be
overridden by overlays.

Update stroke width of lock and udfps icons from 2.5 => 2
Update stroke width of aod udfps icon from 1 => 1.3

Test: manual
Change-Id: I7c3883c9acac68acc02684a3115e9e6512fe9a1f
Bug: 195564809
2021-08-05 17:39:01 -04:00
Winson Chung
099ac81ce4 Merge "Make sure recents animation input consumer is above the top task" into sc-v2-dev am: 97c59ee57d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15463856

Change-Id: I2777fd0da0a1f7855ab924d276f173a688227fe3
2021-08-05 20:47:40 +00:00
Winson Chung
97c59ee57d Merge "Make sure recents animation input consumer is above the top task" into sc-v2-dev 2021-08-05 20:38:09 +00:00