WSA
WSA copied to clipboard
Support for DeviceAdmin
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
This was resolved by adding android.software.device_admin
, although Microsoft had rejected it before.