getUserIdLPr should take application id as input
Fixes: 78265824 Test: Setup work profile using TestDPC -> add account into work profile. Test: Add google.com in personal side to trigger work profile setup. Change-Id: Ib87301fc98d0ebf1baa043e4badb5144a0f62377
This commit is contained in:
@@ -23603,7 +23603,8 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
|
||||
|
||||
private SigningDetails getSigningDetails(int uid) {
|
||||
synchronized (mPackages) {
|
||||
final Object obj = mSettings.getUserIdLPr(uid);
|
||||
final int appId = UserHandle.getAppId(uid);
|
||||
final Object obj = mSettings.getUserIdLPr(appId);
|
||||
if (obj != null) {
|
||||
if (obj instanceof SharedUserSetting) {
|
||||
return ((SharedUserSetting) obj).signatures.mSigningDetails;
|
||||
|
||||
Reference in New Issue
Block a user