Add <uses-library> information.
The SDK library "com.android.libraries.tv.tvsystem" needs to be
explicitly specified in `optional_uses_libs` because it is not in the
app dependencies (so cannot be added to the maifest_fixer automatically
by Soong), and also it is optional (so even if it was added by Soong,
the optional flag would be missing).
Bug: 132357300
Test: lunch cf_x86_phone-userdebug && m
Test: m out/soong/.intermediates/packages/apps/TV/tuner/sampletunertvinput/sampletunertvinput/android_common/manifest_check/AndroidManifest.xm
Change-Id: I9fc449ba5a1f953e8b5c493e2ee41e0f2af8bdd7
diff --git a/tuner/sampletunertvinput/Android.bp b/tuner/sampletunertvinput/Android.bp
index 9d737c8..08bc2e6 100644
--- a/tuner/sampletunertvinput/Android.bp
+++ b/tuner/sampletunertvinput/Android.bp
@@ -53,6 +53,7 @@
"tv-lib-dagger-android",
"tv-test-common",
],
+ optional_uses_libs: ["com.android.libraries.tv.tvsystem"],
aaptflags: ["-0 .ts"],
plugins: [
"tv-auto-value",