OSDN Git Service

Framework: Disable native-bridge for non-zygote
authorAndreas Gampe <agampe@google.com>
Thu, 7 Jun 2018 16:42:02 +0000 (09:42 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 7 Jun 2018 18:10:26 +0000 (11:10 -0700)
commit14a1cd9e357312b8b0c48a9c7fdb33a10bed8930
tree40708de028de23589637fe29b7df8a0653e9cfa3
parent72072cd7698067817cd5fbe22315e4c6600e119e
Framework: Disable native-bridge for non-zygote

Non-zygotes may not have the permissions/capabilities to run a
bridge and may abort attempts to load a bridge because of seccomp
rules. So don't tell the runtime to load a bridge when starting
a non-zygote.

Bug: 77878177
Bug: 80118963
Test: m
Test: cts-tradefed run commandAndExit cts-dev -m CtsWrapWrapDebugTestCases
Change-Id: I7894b89feec79e4bd478f649c004ad29fc46597e
core/jni/AndroidRuntime.cpp