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

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

Change-Id: I72aa380c2026edb7d349a89efc0e308ba6fe2359