Pass correct user id to PackageInstaller for uninstall
When PIA issues an uninstall to PackageInstaller from any other user or
profile, the userId passed is always user{0} since a PackageInstaller
instance is created from user{0}.
Now PIA creates a PackageInstaller instance from the user where the
uninstall should happen
Bug: 264689472
Test: Manual. Setup work profile using TestDPC, attempt to uninstall an app.
Merged-In: I7781a05b66fe8d6d717081b126484a7581fad965
Change-Id: I7781a05b66fe8d6d717081b126484a7581fad965
(cherry picked from commit f1320ee7)
Loading
Please register or sign in to comment