diff options
author | Lev Rumyantsev <levarum@google.com> | 2019-12-13 16:03:30 -0800 |
---|---|---|
committer | Lev Rumyantsev <levarum@google.com> | 2020-01-14 17:03:29 -0800 |
commit | 2b7a5ea3bac8cc985bcffb703e623b781cc86b44 (patch) | |
tree | 05f72fa3039cce2b8634692a1273c210aa5064e9 /rs/java/android/renderscript/ProgramStore.java | |
parent | 041f016971710bbae871e3162fc6e13cfab77f17 (diff) |
Zygote: support native-bridge for app-zygote
1. Disable PreInitializeNativeBridge if native bridge is already
initialized. This happens in apps forked from app-zygote.
2. Pass nullptr app data directory to PreInitializeNativeBridge if app
doesn't have any private storage, which is the case for isolated
app-zygote processes.
Test: CtsExternalServiceTestCases
android.externalservice.cts.ExternalServiceTest
testBindExternalServiceWithZygote
Test: CtsSeccompHostTestCases
android.seccomp.cts.SeccompHostJUnit4DeviceTest
testAppZygoteSyscalls
both for Q.sdk_gphone_x86_arm.armeabi-v7a
Bug: 143143718
Bug: 146904103
Change-Id: I652bb604f30a34826a90b04eb72dde59fb56ae90
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions