Merge "Enable compiling dex files in isolation on low ram devices." am: 6512c31544

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1740162

Change-Id: Ib70ecdaee30a1f9c6400f4adcb19ddd678aaae3f