Commit Graph

646843 Commits

Author SHA1 Message Date
Benedict Wong
8d35744f98 Set TRANSPORT_PRIMARY for VCN NetworkOffers and NetworkAgents
This change sets TRANSPORT_PRIMARY for all NetworkScore objects passed
to ConnectivityService by the VCN. Without this patch, a VCN in safe
mode will never get any NetworkRequests, since the new Policy-based
NetworkRanker always prioritizes a existing satisfier of a network,
regardless of score. However, a higher-priority policy check ensures
that a TRANSPORT_PRIMARY request is used if it exists. This changes the
VCN to utilize that functionality.

Bug: 194122634
Test: atest FrameworksVcnTests
Original-Change: https://android-review.googlesource.com/1772025
Merged-In: I3a298a6c4c594c6e224f3f05764614802c00e9b0
Change-Id: I3a298a6c4c594c6e224f3f05764614802c00e9b0
2021-07-21 02:11:01 +00:00
TreeHugger Robot
019189c35a Merge "DropBoxManager: Fix doc build error" into sc-dev 2021-07-21 01:21:56 +00:00
Cassie Wang
34a952cf94 Merge "Ensure calling user is the same as requested user." into sc-dev 2021-07-21 01:03:03 +00:00
TreeHugger Robot
16ff25f5a7 Merge "Use a different context when constructing an EdgeBackGestureHandler." into sc-dev 2021-07-21 00:36:13 +00:00
Winson Chung
2c4f6e1ae6 Merge "Clean up previous DA organizer when registering" into sc-dev 2021-07-21 00:21:18 +00:00
Shuzhen Wang
3e72b3e16f Merge "Camera: Improve logical camera RAW capture docs" into sc-dev 2021-07-21 00:09:26 +00:00
TreeHugger Robot
5b6a2aff21 Merge "Stop removing all APP_STANDBY_BUCKET_CHANGED messages." into sc-dev 2021-07-20 23:34:59 +00:00
Shuzhen Wang
a00ce4e75f DropBoxManager: Fix doc build error
Test: make doc-comment-check-docs
Bug: 194230402
Change-Id: I38da2bbfbe7ed0a660274ec4d07e2b176a2a7542
2021-07-20 16:14:15 -07:00
Tatiana Webb
277047bc1e Merge "Revert "Launch admin policies settings screen if not possible to launch help page"" into sc-dev 2021-07-20 23:02:23 +00:00
Kevin Chyn
e086c96b2e Merge "6/n: Add support for additional coex cases" into sc-dev 2021-07-20 22:45:40 +00:00
TreeHugger Robot
2591e466c1 Merge "Ensure notification visibility on stopForeground(false)" into sc-dev 2021-07-20 22:05:26 +00:00
Winson Chung
cfabf151e5 Clean up previous DA organizer when registering
- There is no guarantee that binderDied() will come in for the old
  process before it tries to re-register. Instead, force clean up
  the existing organizer if another organizer is registered for the
  same feature
- Also unlink the death recipient when unregistering/cleaning up the
  organizer

Fixes: 190786551
Test: Kill SysUI and ensure it doesn't throw
Test: atest DisplayAreaTest
Change-Id: I1204818eefd96d2eb1fb6d195e186f36fd47efac
Merged-In: I1204818eefd96d2eb1fb6d195e186f36fd47efac
2021-07-20 22:03:04 +00:00
Lucas Dupin
c19b69571c Merge "Revert "Remove zoom from wake-up transition"" into sc-dev 2021-07-20 21:54:30 +00:00
Kevin Chyn
30a9a9b5ec Merge "5/n: Add support for initial coex cases" into sc-dev 2021-07-20 21:52:36 +00:00
Dave Mankoff
1cad82c3bc Use a different context when constructing an EdgeBackGestureHandler.
Fixes: 193758967
Test: atest SystemUITests

Change-Id: I7417ccd3899ffba05411ebb4e56c255f6ef09f54
Merged-In: I7417ccd3899ffba05411ebb4e56c255f6ef09f54
2021-07-20 17:27:49 -04:00
Ben Lin
c312c6481b Merge "PiP: Allow customization of PiP minimum size." into sc-dev 2021-07-20 20:35:36 +00:00
Kevin Chyn
9affacd3f8 6/n: Add support for additional coex cases
If UDFPS succeeds while face is scanning, send haptic+callbacks,
and cancel face auth.

Bug: 193089985
Test: atest CoexCoordinatorTest
Change-Id: Ia261ec35308c70f2c2efcadada41c6c155ec8650
2021-07-20 13:06:58 -07:00
Kevin Chyn
7778c2ea38 5/n: Add support for initial coex cases
1) Adds a way to enable/disable this. By default, this is disabled on
   top of tree (so this change should be a no-op. By default, tests
   enable the advanced behavior.
2) Adds a dump to "adb shell dumpsys biometric"

Bug: 193089985
Test: atest CoexCoordinatorTest
Test: atest com.android.server.biometrics
Test: adb shell dumpsys biometric (with and without secure setting)

Change-Id: I9fe553e9d4b78e34a20b9130f854143a355275bc
2021-07-20 13:06:55 -07:00
Bill Yi
640f3d9c0d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9393881248 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie0dc66735e172f27087d6b9aa7414ca1e9ba21f3
2021-07-20 19:48:03 +00:00
Bill Yi
2db52a94b9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4f2d481a89 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic8b4a9abd310ecca3e1f99f89bb63af6287da5e9
2021-07-20 19:47:46 +00:00
TreeHugger Robot
a4d18e767a Merge "Track active AttributionSources, and finish chains on death" into sc-dev 2021-07-20 19:36:21 +00:00
Lucas Dupin
53037b291f Revert "Remove zoom from wake-up transition"
Removing the zoom was causing problems with the wake-up animation, where
the wallpaper would jump.

Test: manual
Test: atest NotificationShadeDepthControllerTest
Fixes: 192816091
Change-Id: I571e838509356a9eb9895ea2856e023a7b9f1a15
2021-07-20 12:03:05 -07:00
Tatiana Webb
c2d0388962 Revert "Launch admin policies settings screen if not possible to launch help page"
This reverts commit 75077a17a4.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-dev&target=errorprone&lkgb=7566424&lkbb=7566443&fkbb=7566443, bug b/194207719

Change-Id: I40603378f3e6f125639169176e21680980e2a93e
2021-07-20 18:58:37 +00:00
Antoan Angelov
144dab97be Merge "Launch admin policies settings screen if not possible to launch help page" into sc-dev 2021-07-20 18:14:20 +00:00
Mohammad Samiul Islam
b713ec62bb Merge "Test apexd behaves correctly when not in fs-checkpoint mode" into sc-dev 2021-07-20 18:02:29 +00:00
Benedict Wong
520eb40850 Merge "Clear binder calling identity before calling callback" into sc-dev 2021-07-20 17:50:24 +00:00
TreeHugger Robot
e65c02b278 Merge "MidiService: synchronize mDeviceConnections" into sc-dev 2021-07-20 17:08:40 +00:00
Bill Yi
4f2d481a89 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6500b32ba88d70a180ee3c8952a4474808032b8
2021-07-20 16:55:42 +00:00
Shuo Qian
c03fb15e29 Merge "Change the doc to reflect the default status of preferential network service" into sc-dev 2021-07-20 16:21:53 +00:00
Bill Yi
9393881248 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iab06de82d58829c75a7bb50a8ab8647a1a16d7ec
2021-07-20 16:20:16 +00:00
TreeHugger Robot
831024c836 Merge "Use touch usage on camera shortcut vibration" into sc-dev 2021-07-20 15:51:26 +00:00
Wu Ahan
aef0db8f94 Merge "Fix potential memory leak of FrameTracker" into sc-dev 2021-07-20 15:11:56 +00:00
Issei Suzuki
a16f9cc218 Merge "Stop animation when screen times out and the user turns on the phone." into sc-dev 2021-07-20 14:40:26 +00:00
arangelov
75077a17a4 Launch admin policies settings screen if not possible to launch help page
Fixes: 191727929
Test: manually performed policy transparency BYOD test
Test: manually performed policy transparency DO test
Test: manually performed policy transparency DO on
managed user test
Test: atest ActionDisabledLearnMoreButtonLauncherTest

Change-Id: Ief0cc2fab98b28f0836b3dee79e91ea365d37274
2021-07-20 11:55:06 +00:00
Kweku Adams
c2f4752a71 Merge "Fix parameter order." into sc-dev 2021-07-20 11:37:09 +00:00
TreeHugger Robot
9a9741b90c Merge "Fixing the race condition in GenerateRkpKey" into sc-dev 2021-07-20 09:04:54 +00:00
Max Bires
9acdb43f89 Fixing the race condition in GenerateRkpKey
This file was written on the assumption that bindService was
synchronous, which it isn't. This change adds a CountDownLatch to force
the class to wait for the binding to finish. If the relevant key
generation service is not present on the system, then this
functionality will just silently be skipped over.

Bug: 190222116
Test: atest RemoteProvisionerUnitTests
Change-Id: Ie34997a08aa743642c66a20c4b756cd47bff4af1
Merged-In: Ie34997a08aa743642c66a20c4b756cd47bff4af1
2021-07-20 09:04:17 +00:00
Ahan Wu
65a3d5dfa4 Fix potential memory leak of FrameTracker
If begin and end invocations are at the same frame, the end vsync id
will be smaller than the begin vsync id, results in zero size jank info
array, the finish call will be missed as well, a leak happens.

Bug: 192140966
Test: atest FrameTrackerTest InteractionJankMonitorTest
Change-Id: I388558e60bdb84ad248a9afabe7776c4e6e67c57
2021-07-20 06:31:41 +00:00
Wei Sheng Shih
6b43ea0a73 Merge "Correct StartingWindowInfo for non-top activity." into sc-dev 2021-07-20 06:00:39 +00:00
Lyn Han
27a1fdb018 Merge "Use alpha instead of invisible for views below shelf to skip redraw" into sc-dev 2021-07-20 04:43:36 +00:00
TreeHugger Robot
fdcfed3935 Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-qpr-dev am: e3ac127d7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287613

Change-Id: I08b39d5db5af30a633565deeb4d2abb0fd76d9fd
2021-07-20 03:55:06 +00:00
TreeHugger Robot
72c0350b44 Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into sc-dev 2021-07-20 03:43:10 +00:00
TreeHugger Robot
e3ac127d7a Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-qpr-dev 2021-07-20 03:42:38 +00:00
TreeHugger Robot
2e5af9fd16 Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-dev am: 30c6383d1d am: 3d3db03f9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287612

Change-Id: Ib7443eae8533f8897bf0d222f11b0c5f897ff721
2021-07-20 02:49:01 +00:00
TreeHugger Robot
5cb13bbebf Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-dev am: 30c6383d1d am: 17d1be8efc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287612

Change-Id: I67a349870a799a1cdf3df9577786a326901d65e5
2021-07-20 02:44:02 +00:00
Rambo Wang
4696dc9bf8 Merge "Clear binder identity in callback of IMS IPC interfaces" into sc-dev 2021-07-20 02:43:16 +00:00
TreeHugger Robot
17d1be8efc Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-dev am: 30c6383d1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287612

Change-Id: I2fba182703b7e2362a0cd0934903c6a2af849751
2021-07-20 02:31:53 +00:00
TreeHugger Robot
3d3db03f9f Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-dev am: 30c6383d1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15287612

Change-Id: I5e1df42f306b83b1d753e104dea61faa198d6a20
2021-07-20 02:31:47 +00:00
Tracy Zhou
6a8ca02c6f Merge "Remove RecentsOnboarding" into sc-dev 2021-07-20 02:22:59 +00:00
TreeHugger Robot
30c6383d1d Merge "Revert "wifidisplay: restrict broadcast by the proper permission"" into rvc-dev 2021-07-20 02:13:10 +00:00