Merge "Ensure package broadcast whitelist is AppIds" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-21 18:38:40 +00:00
committed by Android (Google) Code Review

View File

@@ -612,7 +612,7 @@ public class AppsFilter {
}
final int insert = ~loc;
System.arraycopy(appIds, insert, buffer, 0, whitelistSize - insert);
appIds[insert] = existingUid;
appIds[insert] = existingAppId;
System.arraycopy(buffer, 0, appIds, insert + 1, whitelistSize - insert);
whitelistSize++;
}