Set min_sdk_version property
libui-types should be set min_sdk_version as well as apex_available so
that it can be depended on by mainline modules.
"apex_inherit" means this module should support every APEX. At the
moment, it means "29" because 29 is the lowest API level.
Bug: 152655956
Test: m
Change-Id: I827ec243924c0fd4c20741d72eb819f77c0b6842
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index bb78895..f3edd3c 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -48,6 +48,8 @@
"//apex_available:anyapex",
"//apex_available:platform",
],
+ min_sdk_version: "apex_inherit",
+
shared_libs: [
"libutils",
],