Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6423ccd9 authored by Keun young Park's avatar Keun young Park
Browse files

Start statsd before starting zygote

- zygote needs statsd for logging boot time event.
- statsd starting later leads into stats logging failure which
  is reported by all child processes of zygote later.
  This brings lots of noise in statsd error.

Bug: 159664734
Test: reboot and check if error log does not show up
  E statsd  : Found dropped events: 1 error -19 last atom tag 240 from uid 10169
Change-Id: Ie585febb50a9668671c8fda41a872595baae8385
parent 6a8602a8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -821,6 +821,7 @@ on zygote-start && property:persist.sys.fuse=""
on zygote-start && property:ro.crypto.state=unencrypted
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    start statsd
    start netd
    start zygote
    start zygote_secondary
@@ -828,6 +829,7 @@ on zygote-start && property:ro.crypto.state=unencrypted
on zygote-start && property:ro.crypto.state=unsupported
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    start statsd
    start netd
    start zygote
    start zygote_secondary
@@ -835,6 +837,7 @@ on zygote-start && property:ro.crypto.state=unsupported
on zygote-start && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    start statsd
    start netd
    start zygote
    start zygote_secondary