title: Android app slow to start (1s lost before layout inflation)
body: <p>I'm trying to improve my app's startup time. I noticed that compared to a fresh new project, my app looses ~1 sec right after startup. Here are my app's first logcat lines:</p>
  <pre><code>2021-03-15 19:25:48.897 11997-11997/? I/om.my.ap: Late-enabling -Xcheck:jni
  2021-03-15 19:25:48.924 11997-11997/? E/om.my.ap: Unknown bits set in runtime_flags: 0x8000
  2021-03-15 19:25:48.989 11997-11997/com.my.app I/om.my.ap: The ClassLoaderContext is a special shared library.
  2021-03-15 19:25:49.908 11997-11997/com.my.app I/Perf: Connecting to perf service.
  </code></pre>
  <p>And here are the first lines of a fresh project :</p>
  <pre><code>2021-03-15 19:39:50.605 14661-14661/? I/e.myapplicatio: Late-enabling -Xcheck:jni
  2021-03-15 19:39:50.630 14661-14661/? E/e.myapplicatio: Unknown bits set in runtime_flags: 0x8000
  2021-03-15 19:39:50.899 14661-14661/com.example.myapplication I/Perf: Connecting to perf service.
  </code></pre>
  <p>As you can see, my app spends ~1s between the <code>The ClassLoaderContext is a special shared library</code> line and the <code>Connecting to perf service</code> line. The fresh project does not print the <code>The ClassLoaderContext is a special shared library</code> line, so I guess it is related to the issue. What is being done at that step?</p>