chaviw
62df8ad093
Make setRecentsScreenshotEnabled public
...
Enable setRecentsScreenshotEnabled as a public API to allow apps to
disable the screenshot that is shown in recents.
There's no need for a getter method because it's only set by the app so
it will not be changed by system
Test: SnapshotTaskTests
Fixes: 166729178
Change-Id: I06f1e4fa62ad50c050b6259e04a4af27cd25be67
2022-02-04 16:27:26 -06:00
Oliver Woodman
083297ec6b
Merge "Add more options on RouteDiscoveryPreference"
2022-01-31 15:06:15 +00:00
Remi NGUYEN VAN
ebd845bfa4
[automerger skipped] Merge changes I5ee56ddd,Ib9ef2a7b am: 3789826e68 am: 4973cc90d9 am: 57ce3e2203 am: 932b4b9135 -s ours
...
am skip reason: Merged-In Ie9fb547e166e6c881dfd04383050375a11f84a9b with SHA-1 1a07c53231 is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966441
Change-Id: Iff4c792d0f56ce69f89b7f93f31588ed5d1f5ff3
2022-01-31 14:50:48 +00:00
Xinyi Zhou
2804050848
[automerger skipped] Add NearbyService am: 17c5caf93e am: 56f293dba5 am: 54018f78e6 am: b56bb8fa98 -s ours
...
am skip reason: Merged-In I399cdba08846a3eca1d7cd9378607b30fa8fd72d with SHA-1 97e88eea69 is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966440
Change-Id: I4abe7e9e7718a3c0f6e6793672f6f84471e94a19
2022-01-31 14:50:36 +00:00
Lorenzo Colitti
34209090dc
Merge changes from topics "move-kerneltotag", "move-socket-tagging-to-mainline" am: ec7461850f am: 101bbfd2a2 am: e6dd1b01db am: 5f8c7c2abe
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964912
Change-Id: Ie5bdbb43340b8866dff6a68d0375ea2e065e9ba6
2022-01-31 14:39:04 +00:00
Lorenzo Colitti
485bf9f9f3
Move kernelToTag to NetworkStatsFactory. am: 09d2a4b175 am: b9e2b370fb am: d967a2faa0 am: 7667882f9f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964913
Change-Id: I0d7a250e321ff80dc4ab94c57c6fb9ea7c793677
2022-01-31 14:38:46 +00:00
Remi NGUYEN VAN
932b4b9135
Merge changes I5ee56ddd,Ib9ef2a7b am: 3789826e68 am: 4973cc90d9 am: 57ce3e2203
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966441
Change-Id: I0d5479c8b6e7f20dbd430d119c0a33b121222e1a
2022-01-31 14:37:01 +00:00
Xinyi Zhou
b56bb8fa98
Add NearbyService am: 17c5caf93e am: 56f293dba5 am: 54018f78e6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966440
Change-Id: Ie8744fb79530aec185d7446afe3760ea9e631e29
2022-01-31 14:36:58 +00:00
Lorenzo Colitti
5f8c7c2abe
Merge changes from topics "move-kerneltotag", "move-socket-tagging-to-mainline" am: ec7461850f am: 101bbfd2a2 am: e6dd1b01db
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964912
Change-Id: I6aeb7c5a17dc10232c6fe678330b7a9185c03f9b
2022-01-31 14:36:21 +00:00
Lorenzo Colitti
7667882f9f
Move kernelToTag to NetworkStatsFactory. am: 09d2a4b175 am: b9e2b370fb am: d967a2faa0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964913
Change-Id: Ia30f60f23f8ab486ea948a470c84fb5fa1ab2971
2022-01-31 14:36:16 +00:00
Remi NGUYEN VAN
57ce3e2203
Merge changes I5ee56ddd,Ib9ef2a7b am: 3789826e68 am: 4973cc90d9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966441
Change-Id: I209f5a3899e50a4bf69a1eebe1ac62e00ccb9f02
2022-01-31 14:21:33 +00:00
Xinyi Zhou
54018f78e6
Add NearbyService am: 17c5caf93e am: 56f293dba5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966440
Change-Id: I4c0cf2ee03d702af1274cb13b4c79b1c20406e39
2022-01-31 14:21:31 +00:00
Lorenzo Colitti
e6dd1b01db
Merge changes from topics "move-kerneltotag", "move-socket-tagging-to-mainline" am: ec7461850f am: 101bbfd2a2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964912
Change-Id: Iad7271aae7a5a4bafd3ba924546cb8ba6df8cd33
2022-01-31 14:20:54 +00:00
Lorenzo Colitti
d967a2faa0
Move kernelToTag to NetworkStatsFactory. am: 09d2a4b175 am: b9e2b370fb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964913
Change-Id: I3bd1b8fb38cb302612139b8ba1940e72e0dc2380
2022-01-31 14:20:50 +00:00
Remi NGUYEN VAN
4973cc90d9
Merge changes I5ee56ddd,Ib9ef2a7b am: 3789826e68
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966441
Change-Id: I9c82ab5e998212d52fd512e4ea7affe010d86d4a
2022-01-31 14:06:16 +00:00
Xinyi Zhou
56f293dba5
Add NearbyService am: 17c5caf93e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966440
Change-Id: I5910c86f27b340f94307af7c41da818e4f83a576
2022-01-31 14:06:15 +00:00
Lorenzo Colitti
101bbfd2a2
Merge changes from topics "move-kerneltotag", "move-socket-tagging-to-mainline" am: ec7461850f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964912
Change-Id: I57a58eb215f17da6ce58607600ab322766f00b69
2022-01-31 14:04:58 +00:00
Lorenzo Colitti
b9e2b370fb
Move kernelToTag to NetworkStatsFactory. am: 09d2a4b175
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964913
Change-Id: Ib763cf77b54e4583e51a337d4261069621e65f56
2022-01-31 14:04:49 +00:00
Tom Natan
d7a62ace0f
Merge "[2/n] Letterbox Education: Add information about fixed orientation letterbox to TaskInfo"
2022-01-31 13:58:43 +00:00
Remi NGUYEN VAN
3789826e68
Merge changes I5ee56ddd,Ib9ef2a7b
...
* changes:
Expose Conext.NEARBY_SERVICE as SystemApi
Add NearbyService
2022-01-31 13:46:21 +00:00
Lorenzo Colitti
ec7461850f
Merge changes from topics "move-kerneltotag", "move-socket-tagging-to-mainline"
...
* changes:
Move socket tagging implementation to mainline.
Move kernelToTag to NetworkStatsFactory.
2022-01-31 13:35:30 +00:00
Galia Peycheva
79d81ab200
Merge "Fix NullPointerException in DreamManagerService"
2022-01-31 12:40:44 +00:00
Sergey Nikolaienkov
142dcfb101
Merge "Fix checking if association's MAC address changed in AssociationStoreImpl"
2022-01-31 11:42:59 +00:00
TreeHugger Robot
d42a4f09c6
Merge "Improve javadoc for some vibration functions."
2022-01-31 11:25:18 +00:00
TreeHugger Robot
a38e938b6f
Merge "Fix SysUI dialog width"
2022-01-31 11:04:51 +00:00
tomnatan
72b8801b69
[2/n] Letterbox Education: Add information about fixed orientation letterbox to TaskInfo
...
Bug: 207010227
Test: atest WmTests:ActivityRecordTests
Test: atest WmTests:SizeCompatTests
Test: atest WMShellUnitTests:ShellTaskOrganizerTests
Change-Id: I04e82eb494c84bd78c269dd244bdd4a3e4d5fcc8
2022-01-31 10:30:45 +00:00
TreeHugger Robot
826e30b913
Merge "Document ANDROID_LINT_CHECK"
2022-01-31 09:47:42 +00:00
Sergey Nikolaienkov
895defc396
Fix checking if association's MAC address changed in AssociationStoreImpl
...
Test: atest CtsCompanionDeviceManagerCoreTestCases
Test: atest CtsCompanionDeviceManagerUiAutomationTestCases
Test: atest CtsOsTestCases:CompanionDeviceManagerTest
Change-Id: I8360035a793d1ba8a4f736e2b0d894decf337a26
2022-01-31 10:34:26 +01:00
Xinyi Zhou
48f1bb60fb
Expose Conext.NEARBY_SERVICE as SystemApi
...
(cherry-pick from downstream branch)
Merged-In: Ie9fb547e166e6c881dfd04383050375a11f84a9b
Test: Built successfully
Bug: 189954300
Change-Id: I5ee56ddd84d38ee24b559fea278c263d424508ed
2022-01-31 17:40:36 +09:00
Xinyi Zhou
17c5caf93e
Add NearbyService
...
(cherry-pick from downstream branch)
Test: loaded on device.
Bug: 189954300
Merged-In: I399cdba08846a3eca1d7cd9378607b30fa8fd72d
Change-Id: Ib9ef2a7b34abe18b1a7a4b48f9a09bc2d5856ac6
2022-01-31 17:39:19 +09:00
Bryce Lee
daa918b287
Merge "Remove CommunalSource related AIDL interfaces."
2022-01-31 06:58:08 +00:00
TreeHugger Robot
3811eb4e2e
Merge "Add toString to SyncNotedAppOp, AsyncNotedAppOp"
2022-01-31 05:08:57 +00:00
Remi NGUYEN VAN
c6dc74ed9f
Merge changes from topic "nearby_tethering_apex"
...
* changes:
Remove nearby API surface
Revert "Start NearbyService when system server starts."
2022-01-31 04:25:49 +00:00
Thiébaud Weksteen
b7339b1a84
Document ANDROID_LINT_CHECK
...
Test: n/a
Change-Id: Ief902e6ae28e4ebd67aba52d6b093a0d22996306
2022-01-31 14:57:45 +11:00
Ahaan Ugale
5f73621d01
Merge "Fix Activity leak from ContentCapture Context-Updated event."
2022-01-30 22:21:50 +00:00
Jack Yu
f320469366
Merge "Supported the legacy allowed initial attach APN types config"
2022-01-30 21:14:58 +00:00
Bryce Lee
f57d17639a
Remove CommunalSource related AIDL interfaces.
...
This changelist removes the CommunalSource AIDL interfaces that are no longer used.
Bug: 216515830
Test: manual
Change-Id: I82f96e1b30da7eb46145e46cbe629135cc342c8e
2022-01-30 12:37:50 -08:00
Bryce Lee
37e95f0bf1
Merge "Media Complication Introduction."
2022-01-30 19:35:10 +00:00
Kholoud Mohamed
2cf9636806
Merge "Allow overriding managed profile notification badge"
2022-01-30 18:13:06 +00:00
Kholoud Mohamed
1095e15a9a
Merge "Allow overriding enterprise badge drawables"
2022-01-30 18:12:11 +00:00
Roopa Sattiraju
5e5a59183b
Merge "API changes requires for Bluetooth apk inside the apex to build."
2022-01-30 18:03:50 +00:00
Bryce Lee
294de89b2a
Media Complication Introduction.
...
This changelist adds a complication to show media control on dream overlays.
Test: atest MediaDreamSentinelTest MediaComplicationViewControllerTest
Bug: 213906962
Change-Id: Id0d9ab8d668d815bd697ea6ca4ac34e62bdf6a42
2022-01-30 08:55:31 -08:00
Bryce Lee
5fadd87acb
Merge "SmartSpace Complication Introduction."
2022-01-30 16:47:55 +00:00
Presubmit Automerger Backend
6894c776bd
[automerger skipped] [automerge] [DO NOT MERGE] Fix regression for enter PIP when onUserLeaveHint 2p: 0207f039d2 am: d6271d42f4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16730784
Change-Id: I51d85a135117ef0ddc9b922eac6ceaaa19d346b3
2022-01-30 07:28:25 +00:00
Lorenzo Colitti
d0a17ee9d5
Move socket tagging implementation to mainline.
...
Currently, socket tagging is implemented in the framework. The
Java code is in NetworkManagmentSocketTagger.java and the JNI is
in libandroid and loaded by the general framework JNI loader.
- Move the Java implementation to TrafficStats, which is the only
caller of NetworkManagmentSocketTagger. This simplifies the
code a bit because a number of methods can be deleted.
- Move the JNI code to a new JNI library in the APEX. The library
depends only on the NDK and statically links the NDK-only
version of libnativehelper. Its size is only 5k on ARM and 10k
on ARM64.
- Temporarily make the framework depend on this library until the
rest of the T connectivity code moves to the APEX.
Test: atest NetworkUsageStatsTest CtsNetTestCases:TrafficStatsTest
Change-Id: I050c7c515237f68b78d08987bc443f50a7949c06
2022-01-30 15:59:44 +09:00
Presubmit Automerger Backend
d6271d42f4
[automerge] [DO NOT MERGE] Fix regression for enter PIP when onUserLeaveHint 2p: 0207f039d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16730784
Change-Id: I8a5d5c7e45f6e484d954db21de9972318645c07d
2022-01-30 03:43:28 +00:00
Chris Li
0207f039d2
[DO NOT MERGE] Fix regression for enter PIP when onUserLeaveHint
...
This was changed in ag/15886711, but it shouldn't be needed anymore as
for case we need to animate the close transition, isVisible() will stay
true until the app transition is finished. Otherwise we shouldn't need
to keep the surface as visible even if it is in the closing app list.
Without this fix, we may accidentally show the surface that has been
commited to be invisible, such as enter pip onUserLeaveHint.
Fix: 216145863
Test: manually verify with Google Meet.
Test: atest WmTests:ActivityRecordTests
Change-Id: Ib28651f5c4dc728d19f968adc56015836e307ef8
Merged-In: Ib28651f5c4dc728d19f968adc56015836e307ef8
2022-01-30 03:43:17 +00:00
Alex Buynytskyy
a7f7cd8970
Merge "SDK -> SDK_PACKAGE to address API feedback."
2022-01-30 01:26:08 +00:00
Ray Essick
c2253dca45
Merge "cleanup for strict_updatability_linting"
2022-01-29 23:49:24 +00:00
Ahaan Ugale
97757ea0c4
Fix Activity leak from ContentCapture Context-Updated event.
...
How it leaks: When a session is destroyed, mDirectServiceInterface is
set to null. If an event is added to the buffer after this, it cannot be
flushed because of that. But the flush() call will still keep
rescheduling itself regularly (to handle the case of
mDirectServiceInterface not being ready when the session is created).
The flush message holds a reference to the session, which holds the
Context that created it (the Activity). The message effectively stays
forever in the handler queue, preventing it from being GC'd.
When destroyed, the mDestroyed flag is set which prevents new events
from being queued (through isContentCaptureEnabled()). However,
setContentCaptureContext() is missing this check. This cl adds it there.
Note: There is possibly a race condition if ContentCaptureSession calls
happen on different threads (Framework code always calls these methods
on the main thread). This will be fixed separately.
Bug: 204891006
Test: atest NexusLauncherTests:com.android.quickstep.StartLauncherViaGestureTests#testStressSwipeToOverview --iterations 5
Change-Id: If69a17e828d928007232db76af6e0cac16502875
2022-01-29 15:44:42 -08:00