Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

How to get installed applications for a specific user? #88

Open
stephen-yu-gh opened this issue Jun 21, 2022 · 2 comments
Open

How to get installed applications for a specific user? #88

stephen-yu-gh opened this issue Jun 21, 2022 · 2 comments

Comments

@stephen-yu-gh
Copy link

Some devices support multi users.

Here is an introduction:
https://xiaomiui.net/enable-dual-apps-on-budget-xiaomi-phones-8158/

I can get list of all apps installed for that user.
adb shell pm list packages --user 999

@stephen-yu-gh
Copy link
Author

By the way, openApp(), openAppSettings(), uninstallApp() are all about user.

@pmmucsd
Copy link

pmmucsd commented Aug 16, 2022

Would also be useful for users with work profiles set up by their companies. Right now you can query work profile apps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants