diff options
| author | 2019-12-13 15:57:18 -0800 | |
|---|---|---|
| committer | 2020-01-14 17:03:06 -0800 | |
| commit | 041f016971710bbae871e3162fc6e13cfab77f17 (patch) | |
| tree | 16a29c3565b15ac1e714588edc7d7e8a90248f7a | |
| parent | dc20cafcc19b2cf5a00b361491fdf080bce8ad04 (diff) | |
AppZygote: start with the correct instruction set
This allows triggering native-bridge initialization if needed.
Test: CtsExternalServiceTestCases
android.externalservice.cts.ExternalServiceTest
testBindExternalServiceWithZygote
for Q.sdk_gphone_x86_arm.armeabi-v7a
Bug: 143143718
Change-Id: If105c4283879407c4fcee33fa6086772d43609a3
| -rw-r--r-- | core/java/android/os/AppZygote.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/os/AppZygote.java b/core/java/android/os/AppZygote.java index 6daa5b4dc6d8..92574968e965 100644 --- a/core/java/android/os/AppZygote.java +++ b/core/java/android/os/AppZygote.java @@ -21,6 +21,8 @@ import android.util.Log; import com.android.internal.annotations.GuardedBy; +import dalvik.system.VMRuntime; + /** * AppZygote is responsible for interfacing with an application-specific zygote. * @@ -113,7 +115,7 @@ public class AppZygote { "app_zygote", // seInfo abi, // abi abi, // acceptedAbiList - null, // instructionSet + VMRuntime.getInstructionSet(abi), // instructionSet mZygoteUidGidMin, mZygoteUidGidMax); |