Don't use apexd when TARGET_FLATTEN_APEX == true
When TARGET_FLATTEN_APEX is true, the build system creates an empty
directory /system/apex/com.android.runtime. At runtime, init bind mounts
the entire /system/apex to /apex and then specially bind mounts
the runtime APEX (/system/apex/com.android.runtime.{debug|release}) to
the empty directory. This allows the runtime APEX is accessible via the
canonical path /apex/com.android.runtime without apexd.
Bug: 132413565
Test: marlin is bootable
Merged-In: Ia25f83d2fbc2b1784fc83b0d5b39a31093d0dfdf
Change-Id: Ia25f83d2fbc2b1784fc83b0d5b39a31093d0dfdf
(cherry picked from commit 442f0f129ed856547ed8e324882bd63318d56f21)
1 file changed