Commit Graph

744012 Commits

Author SHA1 Message Date
William Escande
eb01666b8d cherry-pick of aosp/1959811
Due to bigest topic on aosp, the cl has not been merged in internal
This CL is only to reduce merge-conflict between aosp and internal
Test: build

Change-Id: I47edabfbcbd2eb15650194d6234f54c16d74ed07
2022-01-31 19:21:38 +01: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
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
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
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
Kenneth Ford
3523eab795 Merge changes from topic "device_state_manager"
* changes:
  Rename cancelRequest API to cancelStateRequest and remove the request parameter
  Updates OverrideRequestController to allow for one override request at max
2022-01-29 22:54:38 +00:00
Bryce Lee
e1d6e20727 Merge "Prune unavailable complications." 2022-01-29 19:54:54 +00:00
Ray Essick
52d326c2f7 cleanup for strict_updatability_linting
add extra annotations, reset lint-baseline.xml files.
The lint-baseline.xml includes code fixes from 2021/11 that had no xml
regeneration. XML files updated with output from the test make commands.

Bug: 188851874
Test: build
Test: m out/soong/.intermediates/frameworks/base/apex/media/framework/updatable-media/android_common_apex29/lint/lint-baseline.xml
Test: m out/soong/.intermediates/frameworks/base/apex/media/service/service-media-s/android_common_apex29/lint/lint-baseline.xml
Change-Id: Iad4d811d4d04dd9901d7290d1342e3aae2c22499
2022-01-29 11:47:25 -08:00
Roopa Sattiraju
8eddbdb7f4 Merge "API changes requires for Bluetooth apk inside the apex to build." 2022-01-29 18:41:36 +00:00
TreeHugger Robot
6193b1f659 Merge "Expose 1010102 config for bitmap" 2022-01-29 17:51:09 +00:00
kholoud mohamed
3df423f2a8 Allow overriding managed profile notification badge
Bug: 203548565
Bug: 188410712
Test: manual
Change-Id: I7e66442583e061d03db7281ab3d367ca88a832cb
2022-01-29 15:06:51 +00:00
kholoud mohamed
dc0bab518f Allow overriding enterprise badge drawables
Bug: 203548565
Bug: 188410712
Test: manual testing
Change-Id: Ibee6c28e8a231eab9c370af3065619c2dffa706a
2022-01-29 15:05:19 +00:00
Grace Cheng
7d6a92400c Merge "Adds LOCATION_BYPASS permission." 2022-01-29 12:43:28 +00:00
Chris Li
2b162a03af Merge "Fix regression for enter PIP when onUserLeaveHint" 2022-01-29 10:36:27 +00:00
Etienne Ruffieux
4a4797cbc1 Merge "Making CursorWindowAllocationException public" 2022-01-29 10:29:29 +00:00
Etienne Ruffieux
fa43f240c4 Merge "Moving bt stats logging to BatteryStats." 2022-01-29 10:27:49 +00:00
TreeHugger Robot
0835850d3a Merge "Autofill: Fix GuardedBy false-positives in Session." 2022-01-29 07:17:19 +00:00
TreeHugger Robot
856cc8c570 Merge "Add pendingIntent to FillRequest to enable retriggering" 2022-01-29 07:00:55 +00:00
Junyu Lai
45e6bebaed Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede am: cfb860d019 am: 7cdd324483 am: 9beb86bd45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: Ie96aa4f519816b3c76f6f9e4dc2400070f4d326b
2022-01-29 05:26:20 +00:00
Junyu Lai
9beb86bd45 Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede am: cfb860d019 am: 7cdd324483
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: I4951b6ce5f949246be7b247f9b4ab92b2a9de721
2022-01-29 05:05:29 +00:00
Junyu Lai
7cdd324483 Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede am: cfb860d019
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: I3def078e37095635f65425922ba4d55ad1b4f6fe
2022-01-29 04:41:00 +00:00
Junyu Lai
cfb860d019 Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: Ia1f7f14a2b53876530c394ade949fc8847eab806
2022-01-29 04:13:53 +00:00
TreeHugger Robot
644c36769f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 4afa26e51f -s ours am: 16d3d9d784 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia4c7b53d00dc123a4321418817b553d680be6ee3
2022-01-29 04:12:43 +00:00
TreeHugger Robot
ccc7e90b46 Merge "Check for REVIEW_REQUIRED when determining Notification Access" 2022-01-29 03:57:55 +00:00
TreeHugger Robot
16d3d9d784 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 4afa26e51f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I663fc1cc5a15f228f8008763877f0eccfb2fdc9b
2022-01-29 03:55:55 +00:00
Junyu Lai
853b6f6ede Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" 2022-01-29 03:55:41 +00:00
TreeHugger Robot
4afa26e51f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-01-29 03:39:07 +00:00
Treehugger Robot
d16661636e Merge "Add more OWNERS" am: ab72b30f19 am: 55b8b87199 am: 32b19090b0 am: ea070aba01
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965779

Change-Id: Ib2ee19c01bb7e0d9528309d82c16bd7c7b61af3d
2022-01-29 03:30:22 +00:00
Treehugger Robot
ea070aba01 Merge "Add more OWNERS" am: ab72b30f19 am: 55b8b87199 am: 32b19090b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965779

Change-Id: I01dbade58e079f280ac9b7c30050f52a31aaca5b
2022-01-29 03:12:24 +00:00