android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai b14cd877fb Disable multi-user check for entitlement provisioning
This commit updates the logic for launching the entitlement UI
for tethering when there are multiple users. It disables the
check for whether the current user can change tethering settings
for secondary users due to a potential issue with calling
createContextAsUser. This reverts the behavior change introduced
in aosp/3289821.

One expected outcome is this change will break tethering with
entilement check enabled for HSUM-enabled devices. Since there
is no currently HSUM-enabled projects, disable this check is
safe.

Test: Manual
  1. Mock requires entitlement
  2. adb shell cmd user set-system-user-mode-emulation headless
  3. enable hotspot
Test: atest TetheringTests:EntitlementManagerTest
Bug: 382624069
Change-Id: Ife3b721d1374602a8fa760954b372429cda1bf71
2024-12-09 10:10:58 +08:00
..
integration Rename TapPacketReader to PollPacketReader for broader applicability 2024-10-15 13:42:05 +09:00
mts Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
privileged Rename TapPacketReader to PollPacketReader for broader applicability 2024-10-15 13:42:05 +09:00
unit Disable multi-user check for entitlement provisioning 2024-12-09 10:10:58 +08:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00