Create sdk directory for an app only if app consumes sdk am: a0340b3cdd am: 5397cb62be

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

Change-Id: Ie6633a42399d7e75dc7d0c67f3a12bf6d9455579