vold uses health filesystem HAL
to runDevGc(). This fixes a Treble violation.
Bug: 111655771
Test: manual
Change-Id: I53d6db6ffa99e43e281f8086442151692c1826ca
diff --git a/Android.bp b/Android.bp
index 556784f..080c5fe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -139,6 +139,9 @@
],
},
},
+ shared_libs: [
+ "android.hardware.health.filesystem@1.0",
+ ],
}
cc_binary {
@@ -168,6 +171,11 @@
"vold_prepare_subdirs",
"wait_for_keymaster",
],
+
+ shared_libs: [
+ "android.hardware.health.filesystem@1.0",
+ "libhidltransport",
+ ],
}
cc_binary {