Merge "Pass SElinux info to installd dexopt" into oc-dev

am: 31762dd9a0

Change-Id: Ifd344ec8396ebbd62940522e259ddc72b6e4f1c0
This commit is contained in:
Calin Juravle
2017-04-07 00:36:20 +00:00
committed by android-build-merger
4 changed files with 10 additions and 7 deletions

View File

@@ -548,10 +548,11 @@ public class ZygoteInit {
final int dexFlags = 0;
final String compilerFilter = "speed";
final String uuid = StorageManager.UUID_PRIVATE_INTERNAL;
final String seInfo = null;
try {
installd.dexopt(classPathElement, Process.SYSTEM_UID, packageName,
instructionSet, dexoptNeeded, outputPath, dexFlags, compilerFilter,
uuid, sharedLibraries);
uuid, sharedLibraries, seInfo);
} catch (RemoteException | ServiceSpecificException e) {
// Ignore (but log), we need this on the classpath for fallback mode.
Log.w(TAG, "Failed compiling classpath element for system server: "