TreeHugger Robot
fb7b70bdb4
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into qt-dev am: 88bdf80af8 am: c0d12c6b4a -s ours am: 9d5c0bf1b1 -s ours am: f36ed930cd -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: Id84deef83bd9641d9a366ed7fff49c545fc1b53e
2022-03-07 09:46:25 +00:00
Jeff Chang
5c5b837442
[automerger skipped] [RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: f2d4787451 am: 72aa97e7eb -s ours am: 75ced03a04 -s ours am: 92e566d24f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I4a7362dff152e108c8d9f31b09e45525e45d96a4
2022-03-07 09:46:09 +00:00
TreeHugger Robot
748ed4c7cb
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into rvc-dev am: 057b8a994b am: 711b63a3ea -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16811765
Change-Id: I250a4502e845b7219e0f33d7db24a95dda86ec00
2022-03-07 09:45:37 +00:00
Jeff Chang
506c82612a
[automerger skipped] [RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: 43b8bcc014 -s ours am: fc2e453887 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16811765
Change-Id: I4eaba4ff7bd41d4c879d686892bc1fd76902f0a0
2022-03-07 09:45:17 +00:00
TreeHugger Robot
f36ed930cd
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into qt-dev am: 88bdf80af8 am: c0d12c6b4a -s ours am: 9d5c0bf1b1 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I50789965770642edef8730349b6e386b9587963c
2022-03-07 09:25:46 +00:00
Jeff Chang
92e566d24f
[automerger skipped] [RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: f2d4787451 am: 72aa97e7eb -s ours am: 75ced03a04 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I3e41f8de655e5de2beae89e08a58cb27c0039358
2022-03-07 09:25:36 +00:00
TreeHugger Robot
711b63a3ea
Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into rvc-dev am: 057b8a994b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16811765
Change-Id: I7f86a6587b14f63d8e4c472de9e2d38f1892084e
2022-03-07 09:25:16 +00:00
Jeff Chang
fc2e453887
[automerger skipped] [RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: 43b8bcc014 -s ours
...
am skip reason: skipped by user chengjeff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16811765
Change-Id: I33edd649c842c5070e030861adb0128aa5fddc48
2022-03-07 09:25:01 +00:00
TreeHugger Robot
9d5c0bf1b1
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into qt-dev am: 88bdf80af8 am: c0d12c6b4a -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I42e33f1e2c07b5522809cb48c09c5d8013262cf1
2022-03-07 06:17:56 +00:00
Jeff Chang
75ced03a04
[automerger skipped] [RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: f2d4787451 am: 72aa97e7eb -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I3f8ff56668d075ae1ebd2f41ac218a00518f0d41
2022-03-07 06:17:42 +00:00
TreeHugger Robot
c0d12c6b4a
Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into qt-dev am: 88bdf80af8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I26265a8e10ee86d63273f8b6e8759c9e63eabc64
2022-03-07 06:00:48 +00:00
Jeff Chang
72aa97e7eb
[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task am: f2d4787451
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16812573
Change-Id: I1e4c3d42668d5f6459f4a07436edb7ff46f3e90f
2022-03-07 06:00:36 +00:00
TreeHugger Robot
88bdf80af8
Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into qt-dev
2022-03-07 05:40:46 +00:00
TreeHugger Robot
057b8a994b
Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into rvc-dev
2022-03-07 04:32:08 +00:00
TreeHugger Robot
9eba99f414
Merge "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task" into sc-dev
2022-03-07 04:29:55 +00:00
TreeHugger Robot
ca8eb0192c
Merge "Keyguard - Treat messsages to lock with priority" into sc-dev
2022-03-04 21:30:37 +00:00
TreeHugger Robot
2c6da471c7
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2022-03-04 15:21:14 +00:00
TreeHugger Robot
4fe1d2d420
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2022-03-03 10:08:40 +00:00
Bill Yi
00209796dc
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ifd1269726199a97a6d9bed045b6e497b2c97cad9
2022-03-03 09:15:38 +00:00
Bill Yi
0100caf6e6
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I1ed2539796ffc3b8479a9f1a7dabb4f7e1c435b1
2022-03-03 04:17:29 +00:00
Julia Reynolds
5a1cf350e6
[automerger skipped] Filter notification APIs by user am: 4d7ca1dbce -s ours am: e749344386 -s ours am: c6e84150fa -s ours am: 3837076d84 -s ours
...
am skip reason: skipped by user juliacr
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873520
Change-Id: Id2134db32f8b4f3fb07badef43ce0932e8dcd654
2022-03-03 00:40:22 +00:00
Julia Reynolds
3837076d84
[automerger skipped] Filter notification APIs by user am: 4d7ca1dbce -s ours am: e749344386 -s ours am: c6e84150fa -s ours
...
am skip reason: skipped by user juliacr
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873520
Change-Id: Ic580d121962d8dc16006587c1bab71e49f35aecf
2022-03-03 00:19:11 +00:00
Julia Reynolds
c6e84150fa
[automerger skipped] Filter notification APIs by user am: 4d7ca1dbce -s ours am: e749344386 -s ours
...
am skip reason: skipped by user juliacr
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873520
Change-Id: I4c10dba86fd3bd50268060f5ac96e3877f63ec07
2022-03-02 23:56:41 +00:00
Julia Reynolds
e749344386
[automerger skipped] Filter notification APIs by user am: 4d7ca1dbce -s ours
...
am skip reason: skipped by user juliacr
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873520
Change-Id: I329ef6cde3dff1ee646f39507e3a487472948c93
2022-03-02 23:35:43 +00:00
TreeHugger Robot
8165fee91d
[automerger skipped] Merge "Filter notification APIs by user" into rvc-dev am: b4ed0a3467 -s ours am: 9aeec3e862 -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 24076b8571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873394
Change-Id: I7bac0cb4ce09c6d4c01e4cfa95a8b6a980cd33f2
2022-03-02 19:08:54 +00:00
Julia Reynolds
a905b405bf
[automerger skipped] Filter notification APIs by user am: 3456555b7c -s ours am: 4372e063b7 -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 24076b8571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873394
Change-Id: Ie98260af6dae40520d33ae9866a1c01e26fe5886
2022-03-02 19:08:39 +00:00
TreeHugger Robot
2dfb7bbbed
[automerger skipped] Merge "Filter notification APIs by user" into rvc-qpr-dev am: 0ffd60007c -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 40ca868ca5 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873353
Change-Id: Icbf79e71e9178a5ad3a16de3207ffc00c8af3337
2022-03-02 19:08:09 +00:00
Julia Reynolds
ed4b77dbcf
[automerger skipped] Filter notification APIs by user am: 24076b8571 -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 40ca868ca5 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873353
Change-Id: I67adf596fe54f354116e164591d0d9285248a9b3
2022-03-02 19:07:51 +00:00
TreeHugger Robot
1db370eac3
Merge "Filter notification APIs by user" into sc-dev
2022-03-02 18:58:03 +00:00
TreeHugger Robot
9aeec3e862
[automerger skipped] Merge "Filter notification APIs by user" into rvc-dev am: b4ed0a3467 -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 24076b8571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873394
Change-Id: Iceacc21b04ae932509950bc99db46a63a39806a5
2022-03-02 18:57:08 +00:00
Julia Reynolds
4372e063b7
[automerger skipped] Filter notification APIs by user am: 3456555b7c -s ours
...
am skip reason: Merged-In I2eba0a592fa33ed25e1ac3919f1b2631e5db4258 with SHA-1 24076b8571 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16873394
Change-Id: I9b072cdec6c313b5e4fb43f397ff03d2978b9e55
2022-03-02 18:57:00 +00:00
TreeHugger Robot
0ffd60007c
Merge "Filter notification APIs by user" into rvc-qpr-dev
2022-03-02 18:47:09 +00:00
TreeHugger Robot
b4ed0a3467
Merge "Filter notification APIs by user" into rvc-dev
2022-03-02 18:36:08 +00:00
Matt Pietal
f8023c9829
Keyguard - Treat messsages to lock with priority
...
When switching users and attempting to lock the device, the sysui main
thread becomes overwhelmed with events, creating a significant lag
between the time a message is posted and processed on the main
thread. This can be dangerous when these events are critical for
security, such as calls coming from PhoneWindowManager#lockNow() that
call KeyguardViewMediator#doKeyguardTimeout(). On older devices with
slower CPUs and less memory, the delay in processing can be
significant (15 - 30s).
The result of not prioritizing these events leads to a window of time
where a guest user can switch back to the owner, and gain access to
the owner's homescreen without needing to unlock the device with the
owner's credentials.
As a mitigation, prioritize two events originating in two specific
methods to make sure the device locks as soon as possible as well as
have the system server preemptively update its local cache.
Bug: 151095871
Test: Very manual race condition - follow steps listed in bug
Change-Id: I7585a0a5eeb308e0e32a4f77f581556d883b5cda
Merged-In: I7585a0a5eeb308e0e32a4f77f581556d883b5cda
(cherry picked from commit 28c53ab8bc )
2022-03-02 12:54:38 +00:00
TreeHugger Robot
cc16c9178b
Merge "Update permissions for ServiceState broadcast" into sc-dev
2022-03-01 21:41:50 +00:00
TreeHugger Robot
6822a69f35
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2022-02-24 18:03:02 +00:00
Bill Yi
0a164b2648
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I917d6b1b9669eba73490411b8e10415a2e6b8253
2022-02-23 07:22:32 +00:00
Bill Yi
35958b264b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ia8396320bd86f60354bf3f9519d4c21b0b79db4c
2022-02-22 18:53:36 +00:00
TreeHugger Robot
011a7c7c14
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2022-02-18 18:14:11 +00:00
TreeHugger Robot
56b07dc8db
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev
2022-02-18 17:44:09 +00:00
Bill Yi
4c05a3cbbe
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ibfc0ee015d133ac2b1f326c6d4f094f832c2059b
2022-02-17 16:20:04 +00:00
Bill Yi
89ff6edcf5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Id4743f4d41b8b46cc00509b4746db8691c599b78
2022-02-17 12:28:23 +00:00
Vishnu Nair
bf8f40cb63
[automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours
...
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16502616
Change-Id: Id5a239702b6e38dd0268e2270d760b70989ca612
2022-02-16 23:27:49 +00:00
Vishnu Nair
b5d28939ac
Drop input for toast and child surfaces am: 55c1473bf2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16502616
Change-Id: I5834fdb9e3559023a96cde91067bb1e988a01034
2022-02-16 23:07:36 +00:00
Sarah Chin
8bfc531548
Update permissions for ServiceState broadcast
...
Require FINE_LOCATION_ACCESS to get the full service state broadcast,
otherwise send the location sanitized copy.
Test: manual verify with app
Bug: 210118427
Change-Id: Ibfa66624a4157b7c2c7d764e2b6bdb26ac5f1447
Merged-In: Ibfa66624a4157b7c2c7d764e2b6bdb26ac5f1447
(cherry picked from commit d852b695e7 )
2022-02-16 21:50:46 +00:00
Vishnu Nair
6d94eaaffb
[automerger skipped] Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev am: 5aa3d21693 am: c3db8e7986 -s ours
...
am skip reason: Merged-In Ifcb4133306a43874e74e8fb0f42b60842daf6f25 with SHA-1 a84612483f is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16502615
Change-Id: Ia4bd6e804d7de77d45b860f1c5cb1250c130d758
2022-02-16 20:34:35 +00:00
Vishnu Nair
c3db8e7986
Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev am: 5aa3d21693
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16502615
Change-Id: Iaa14f9d4821db682816503421f445cc02b5d665c
2022-02-16 19:34:31 +00:00
Vishnu Nair
55c1473bf2
Drop input for toast and child surfaces
...
Toasts that do not have the trustedOverlay flag should not receive input.
These windows should not have any children, so force this hierarchy of
windows to drop all input by setting a flag on the toast window state
which will apply the DROP_INPUT flag on all windows with an input
channel. This is to prevent malicious apps from parenting surfaces with
input channels to the toast window.
Test: show toast and check if input feature flag DROP_INPUT id set via dumpsys
Bug: b/197296414
Change-Id: I316b76b685ca5030fd8aa91283555efcce4d6994
Merged-In: I316b76b685ca5030fd8aa91283555efcce4d6994
2022-02-16 19:01:10 +00:00
Vishnu Nair
5aa3d21693
Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev
2022-02-16 19:00:06 +00:00
Vishnu Nair
fad4624dd8
SurfaceControl: Add setDropInputMode api
...
Introduces an API to drop input events on this SurfaceControl. This
policy will be inherited by its children. The caller must hold the
ACCESS_SURFACE_FLINGER permission.
Options include:
ALL: SurfaceControl and its children will not receive any
input regardless of whether it has a valid input channel.
These policies are used to enable features that allow for a less trusted
interaction model between apps. See the bug for more details.
Note: this backport doesn't include the oclude mode since its not
needed for the security fix.
Test: atest libgui_test InputDispatcherDropInputFeatureTest
Bug: 197296414
Merged-In: Ifcb4133306a43874e74e8fb0f42b60842daf6f25
Change-Id: Ifcb4133306a43874e74e8fb0f42b60842daf6f25
2022-02-16 18:58:11 +00:00