bmax121 / APatch

The patching of Android kernel and Android system
GNU General Public License v3.0
3.46k stars 276 forks source link

Android Multi User Support #519

Open AboodiGamer opened 2 weeks ago

AboodiGamer commented 2 weeks ago

Is your feature request related to a problem?/你的请求是否与某个问题相关?

Yes, root access cannot be granted to any user other than main or work profile.

Describe the solution you'd like/描述你想要的解决方案

When APatch manager is installed and authenticated in another user, it is supposed to show apps for the user where the manager is installed, rather than apps installed for Owner (current behaviour).

Describe alternatives you've considered/描述您考虑过的备选方案

An alternative solution is querying apps for all users (not just main and work profile) in Superuser screen when APatch manager is used in the main profile (Owner).

Additional context/其他信息

Modifying package_config manually by adding packages name and its UID in the secondary user won't grant it root access in that user.