Shan Huang
b533660125
Avoid leaking Activity from OnBackInvokedCallback.
...
- Remove mTopCallback field
- Cleanup compat and default callbacks
- Remove the callback held by WindowState when the window is removed.
Bug: 218328707
Test: atest packages/apps/Launcher3/tests/src/com/android/launcher3/ui/TaplTestsLauncher3.java
Test: atest frameworks/base/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java
Change-Id: I38fd760a617500c874aef10bc8de165880837008
2022-02-10 04:46:24 +00:00
Shan Huang
56fc3f5e5c
Merge "Add compatibility back callbacks."
2022-02-05 06:31:15 +00:00
Chen Xu
c85a75b26f
Merge "[MEP] Add subscriptionId as intent extra to a resolution intent."
2022-02-05 05:17:10 +00:00
Ganesh Olekar
2f22b7f2f0
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd am: e38b4d59cf am: 70e4ba9a01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: If1af21ece63ecbae6692a3a7aa39e583c7392dd6
2022-02-05 05:00:49 +00:00
Ganesh Olekar
dadda99dfd
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd am: 4ff5bad43e am: be486f55bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I863bfc6058c05af53dcf3861a87ac5958f1bae42
2022-02-05 05:00:08 +00:00
Ganesh Olekar
70e4ba9a01
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd am: e38b4d59cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I7e25a255f30ed7c9824bc5629814f7f5076f025d
2022-02-05 04:48:04 +00:00
Ganesh Olekar
be486f55bb
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd am: 4ff5bad43e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I1439303fe9858209c4e1c53e4a5a3220ee0ac569
2022-02-05 04:45:46 +00:00
Ganesh Olekar
e38b4d59cf
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I55bd837724c745078138cdbd8afc4213768dcdb1
2022-02-05 04:31:21 +00:00
Ganesh Olekar
4ff5bad43e
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: b14e524ffd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I3844f812cfdbdf51da4f2f849d16794bb9679b90
2022-02-05 04:31:21 +00:00
Ganesh Olekar
5b027fa0bb
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382 am: fd12e311a2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: Ibe87764f679863f20bac59ce237fbabeca29ce26
2022-02-05 04:30:56 +00:00
TreeHugger Robot
86c843e8cd
Merge "Camera: Add support for client requests&results when using extension sessions"
2022-02-05 04:15:45 +00:00
Ganesh Olekar
b14e524ffd
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I47da71211e30902d5f489f0dec109056b9503707
2022-02-05 04:14:22 +00:00
Ganesh Olekar
fd12e311a2
Merge "Validate pid can be trusted" into sc-dev am: 45312b8382
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16461958
Change-Id: I98982569be5032db5b302c10b6b925edb93b762c
2022-02-05 04:13:15 +00:00
Kevin Han
fd04f04b85
Merge "Add cache savings to hibernation savings stats"
2022-02-05 04:09:12 +00:00
Ganesh Olekar
45312b8382
Merge "Validate pid can be trusted" into sc-dev
2022-02-05 03:56:26 +00:00
TreeHugger Robot
e3c43139c7
Merge "Enable config_notificationToContents by default"
2022-02-05 03:56:24 +00:00
TreeHugger Robot
aeec68d59f
Merge "Support wireless ADB for ethernet only devices."
2022-02-05 03:51:03 +00:00
TreeHugger Robot
44a369447f
Merge "Only relayout when mIgnoredSlots changes"
2022-02-05 03:25:45 +00:00
Shuzhen Wang
cc2e26cdb5
Merge "Camera: Add stream use case support"
2022-02-05 03:13:09 +00:00
TreeHugger Robot
b62414e64c
Merge "Do not relayout when changing to Marquee"
2022-02-05 03:04:36 +00:00
TreeHugger Robot
5f16230f97
Merge "Reduce cost of FooterView#showHistory"
2022-02-05 03:04:22 +00:00
TreeHugger Robot
72d07fb822
Merge "Ensure SubscriptionPlans can be removed"
2022-02-05 02:56:21 +00:00
TreeHugger Robot
10e2560cba
Merge "Have both NAVIGATION_HINT_IME{,_SWITCHER}_SHOWN"
2022-02-05 02:48:09 +00:00
Treehugger Robot
c8b08b281e
[automerger skipped] Merge "Add constant for SC V2." am: b4bcc85925 am: ef662c60e9 am: 4f7c212c39 -s ours am: 36ad429cb4 -s ours
...
am skip reason: Merged-In Ieecebfccf9366815c93d620b70aeabc1abcd3ebd with SHA-1 dec589fbce is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972646
Change-Id: Ifc14a4ee80e5cb72a1163585745a9f4c0ff4f783
2022-02-05 02:31:15 +00:00
Treehugger Robot
36ad429cb4
[automerger skipped] Merge "Add constant for SC V2." am: b4bcc85925 am: ef662c60e9 am: 4f7c212c39 -s ours
...
am skip reason: Merged-In Ieecebfccf9366815c93d620b70aeabc1abcd3ebd with SHA-1 dec589fbce is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972646
Change-Id: Ife16c5c7e546aea180e201a8248fde26e0d3773f
2022-02-05 02:17:13 +00:00
Treehugger Robot
4f7c212c39
Merge "Add constant for SC V2." am: b4bcc85925 am: ef662c60e9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972646
Change-Id: I205b1b3206be894aa271cc252652c8fddba5625e
2022-02-05 01:57:57 +00:00
Shan Huang
025b9e5ceb
Add compatibility back callbacks.
...
For pre-T apps, the default back callback dispatches KEYCODE_BACK to the
application's root view.
For T+ apps, the default KEYCODE_BACK listener invokes the registered
OnBackInvokedCallback.
Test: m -j
Bug: 195946584
Change-Id: I62342b249e6cd6f8b036f7e950cc3f9754418ee4
2022-02-05 01:53:25 +00:00
Emilian Peev
5b3d7a7c3c
Camera: Add support for client requests&results when using extension sessions
...
Allow camera clients to query for any orthogonal camera parameters that
can be applied during extension capture sessions.
Enable capture result callbacks in the same scenario.
Bug: 198447410
Test: Camera CTS
Change-Id: Ifb472cd051121d83d230bcc152c6942b8fb82a2d
2022-02-04 17:52:23 -08:00
Treehugger Robot
ef662c60e9
Merge "Add constant for SC V2." am: b4bcc85925
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1972646
Change-Id: Id28b7282c42ee36986e2ebd3065fd2a40f276733
2022-02-05 01:42:53 +00:00
Treehugger Robot
b4bcc85925
Merge "Add constant for SC V2."
2022-02-05 01:20:06 +00:00
Evan Severson
34cd58e768
Merge "Add camera light privacy component"
2022-02-05 01:10:49 +00:00
Shan Huang
6aa1f22cae
Merge "Expose IBackAnimation from Shell to Launcher."
2022-02-05 00:58:32 +00:00
Kevin Han
9d6ae0003e
Merge "Don't log on each call when hibernation not enabled"
2022-02-05 00:43:44 +00:00
Treehugger Robot
4b6025d548
Merge "Add key / value data structures for IBpfMaps" am: 1962b10531 am: 06e0f144cb am: bd0de6957a am: 53dbc36d99
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969201
Change-Id: I99a121bba7673c9ae87167e98006c9f072f51f34
2022-02-05 00:33:03 +00:00
Lucas Dupin
d9b1835577
Reduce cost of FooterView#showHistory
...
FooterView#showHistory could take up to 3ms to execute due to resource
fetching. The strings are now cached and we abort earlier when possible.
Now the method is executed withing 800us
Bug: 210432290
Test: atest FooterViewTest
Test: https://ui.perfetto.dev/#!/?s=cf1a328f424429fd30f131cd31c7d17c8ff412eb5ae1cfeec272c5f2d5a1c5e
Change-Id: If09c47646e168e8dded17b59be8573d0a9386eb9
2022-02-04 16:28:40 -08:00
TreeHugger Robot
4b82b1cd2c
Merge "Set foreground service manager enabled by default"
2022-02-05 00:27:59 +00:00
Treehugger Robot
53dbc36d99
Merge "Add key / value data structures for IBpfMaps" am: 1962b10531 am: 06e0f144cb am: bd0de6957a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969201
Change-Id: I566aba16c428ad673360542cf880a2669948a6c5
2022-02-05 00:23:13 +00:00
Avichal Rakesh
6eec418572
Merge "Revert "Prevent onImageAvailable from being called on stale listeners""
2022-02-05 00:19:24 +00:00
Rob Carr
ac9e0ba243
Merge "WM: Mark task overlays as trusted overlays"
2022-02-05 00:11:36 +00:00
James Mattis
a392ba93e6
[automerger skipped] Merge "Adding permission for Ethernet Network Management" am: e4ad2e515e am: eaa1e819cf am: 1fc44a16b8 am: 7693959d87 -s ours
...
am skip reason: Merged-In Icf9c2accc86735cc981adc0d5a24802e0616ffaf with SHA-1 44bdd8fbbc is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964543
Change-Id: I5d32bb623d03e77c4bccc37994edd9f42369da0a
2022-02-05 00:10:37 +00:00
Dave McCloskey
994e4e4b70
Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9 am: 911482e768 am: 1a22e966e5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480
Change-Id: Icfd3343b7a629878201f04013afa3d9dfc4f499a
2022-02-05 00:09:28 +00:00
Treehugger Robot
bd0de6957a
Merge "Add key / value data structures for IBpfMaps" am: 1962b10531 am: 06e0f144cb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969201
Change-Id: I3f863cf5cfb50cb215391abe62e113aecd6b8e13
2022-02-05 00:08:55 +00:00
Treehugger Robot
d4936a5bf3
Merge "Add background blur activity to silkfx" am: 81f5901e83 am: 9da79d3727 am: ea7dbe7167 am: 8c91cb7376
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966459
Change-Id: I351da726fc4908ce7b40f017baff17ba3c41f43c
2022-02-05 00:08:17 +00:00
Treehugger Robot
06e0f144cb
Merge "Add key / value data structures for IBpfMaps" am: 1962b10531
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969201
Change-Id: Id2e9069959402216b52d1d64603eeb9f27cc21ca
2022-02-04 23:57:06 +00:00
James Mattis
7693959d87
Merge "Adding permission for Ethernet Network Management" am: e4ad2e515e am: eaa1e819cf am: 1fc44a16b8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964543
Change-Id: Iae77b26dda93af5685c35969d1dc3bfed0ff93e4
2022-02-04 23:50:15 +00:00
Dave McCloskey
1a22e966e5
Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9 am: 911482e768
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480
Change-Id: I2cdfa296b377a573584ec9c09245a4ff23e396c4
2022-02-04 23:49:20 +00:00
Sarah Chin
e6f17feb77
Ensure SubscriptionPlans can be removed
...
Add a duration that the plans last and don't read to/write from disk
for plans. Make non-duration setSubscriptionPlans API deprecated.
Test: atest SubscriptionManagerTest, NetworkPolicyManagerServiceTest
Bug: 210696427
Change-Id: I93aece78eda324c333fbf9f1adbedcf46e4864f0
2022-02-04 15:49:10 -08:00
Treehugger Robot
8c91cb7376
Merge "Add background blur activity to silkfx" am: 81f5901e83 am: 9da79d3727 am: ea7dbe7167
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966459
Change-Id: If84b6f842c22b4fa8e30382a6f269a3083b77952
2022-02-04 23:48:22 +00:00
Haik Kalantarian
90bd12ce55
Merge "Added Cooldown Mode global"
2022-02-04 23:40:18 +00:00
Treehugger Robot
1962b10531
Merge "Add key / value data structures for IBpfMaps"
2022-02-04 23:39:29 +00:00