android_packages_modules_Co.../Tethering/apex
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai b4a92ff791 Improved Entitlement UI Launch for multiple admin users
This change addresses the launch of entitlement UI activities
in Headless System User Mode (HSUM) on multi-user devices.

HSUM is a configuration where the system user (user 0) does
not represent a human user and primarily runs system services.
In this mode, the first user set up on the device is not user 0.

Modified the EntitlementManager logic to handle the
launch of the entitlement UI in multi-user environments,
specifically addressing scenarios where HSUM is enabled, which
includes:
  1. Always launch the UI to the foreground current user.
  2. Check whether the current user is allowed to show the UI.
This ensures the UI is presented to the appropriate user.

Test: Manual
  1. Mock requires entitlement
  2. adb shell cmd user set-system-user-mode-emulation headless
  3. enable hotspot
Test: atest TetheringTests:EntitlementManagerTest
Fix: 363972541

Change-Id: I950d678741a3f1714f347206fa161bcd7538b402
2024-10-21 10:22:42 +08:00
..
hiddenapi Make the hiddenapi*-tiramisu.txt files part of framework-connectivity-t 2022-09-13 15:13:15 +00:00
permissions Improved Entitlement UI Launch for multiple admin users 2024-10-21 10:22:42 +08:00
Android.bp bpf: merge block.c into netd.c 2024-09-19 00:40:53 +00:00
AndroidManifest.xml Remove a useless comment 2021-07-27 02:59:11 +00:00
canned_fs_config build netbpfload into the tethering apex 2023-10-10 16:51:01 -07:00
com.android.tethering.avbpubkey Change Tethering package name 2019-12-19 13:06:50 +08:00
com.android.tethering.pem Change Tethering package name 2019-12-19 13:06:50 +08:00
com.android.tethering.pk8 Change Tethering package name 2019-12-19 13:06:50 +08:00
com.android.tethering.x509.pem Change Tethering package name 2019-12-19 13:06:50 +08:00
manifest.json Setting apex version to the placeholder value 2022-07-07 11:29:39 +01:00