Skip to content

[ISSUE] Unable to find packages of other users. (multiuser) #1192

@edwining01

Description

@edwining01

Describe the bug
Unable to find packages of other users from PackageManager either with or without Enable multi-user support. Expected showing 2 and more for apps like google play store and unique apps of some secondary users.

Firewall Logs
N/A (not related)

Smartphone (please complete the following information):

  • Device: POCO M3
  • Android OS: Phh-Treble AOSP 11

Additional context

I tried the following steps with adb

The following only can get packages of primary user, but none from the others:

pm list packages

Find user id here:

ls /data/user

And apply here can found packages of that user:

pm list packages --user <userId>

I can find people use pm list packages worked in the past. Is that changed on android 11?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions