Merge "Ensure package broadcast whitelist is AppIds" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3c94f71398
@@ -612,7 +612,7 @@ public class AppsFilter {
|
|||||||
}
|
}
|
||||||
final int insert = ~loc;
|
final int insert = ~loc;
|
||||||
System.arraycopy(appIds, insert, buffer, 0, whitelistSize - insert);
|
System.arraycopy(appIds, insert, buffer, 0, whitelistSize - insert);
|
||||||
appIds[insert] = existingUid;
|
appIds[insert] = existingAppId;
|
||||||
System.arraycopy(buffer, 0, appIds, insert + 1, whitelistSize - insert);
|
System.arraycopy(buffer, 0, appIds, insert + 1, whitelistSize - insert);
|
||||||
whitelistSize++;
|
whitelistSize++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user