summaryrefslogtreecommitdiff
path: root/mime
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-09-26 16:03:28 +0100
committerTobias Thierer <tobiast@google.com>2019-09-26 16:08:59 +0100
commita45917eb7781384a0d58936d56fdfbc71cc8443c (patch)
treec3c5ab5044c68e1f98237332cdb5fee484255324 /mime
parenta11beeca12748fe0af659f5d8c1247009ea7fd4c (diff)
Introduce ZygoteInit.preForkInit().
Until recently, I and apparently some others were under the assumption that RuntimeInit.commonInit() runs before the Zygote fork. Actually, it does not. This CL introduces a method ZygoteInit.preForkInit() which runs before the Zygote fork. For now, only enableDdms() moves into it and can become private. This should not alter behavior since enableDdms() is called from the same places as before, and because enableDdms() (now private) was already not part of any API surface. The CL also removes the qualifier "final" from the (static) method enableDdms(), because it is redundant. Note: This CL was uploaded with --no-verify because of preexisting import ordering issues in RuntimeInit.java Test: Treehugger Change-Id: I8f637e160a2d7810feb43b6a43ec7d628af18fb8
Diffstat (limited to 'mime')
0 files changed, 0 insertions, 0 deletions