WSA icon indicating copy to clipboard operation
WSA copied to clipboard

Support for DeviceAdmin

Open Ziegenbeisser opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe

Currently when requesting DeviceAdmin via Intent, a new Activity Pops up but you cannot enable it. I would like to run automatic test with DeviceAdmin enabled this is not possible.

Describe the solution you'd like

I would like to be able to enable Device Admins/Managed Profile inside of WSA

Intent intent = new Intent(DevicePolicyManager.ActionAddDeviceAdmin);
intent.PutExtra(DevicePolicyManager.ExtraDeviceAdmin, "DeviceAdminComponent");
intent.PutExtra(DevicePolicyManager.ExtraAddExplanation, "Explanation");
StartActivityForResult(intent, REQUEST_CODE_ADD_ADMIN);

Describe alternatives you've considered

No response

Please specify the version of Windows Subsystem for Android

2311.40000.5.0

Ziegenbeisser avatar Jan 27 '24 14:01 Ziegenbeisser

This was resolved by adding android.software.device_admin, although Microsoft had rejected it before.

s1204IT avatar Mar 31 '24 06:03 s1204IT