Add CAP_SYS_NICE to virtmgr to sync with crosvm's capability.
Bug: 328051532
Test: adb shell /apex/com.android.virt/bin/vm run-microdroid
Test: adb logcat | grep virtmgr
Test: atest MicrodroidTestAppNoPerm
Change-Id: I8cf3efb86869a7e3a31bc1ba3480f43c1bc92bf6
diff --git a/java/jni/Android.bp b/java/jni/Android.bp
index 74a1766..4a569d4 100644
--- a/java/jni/Android.bp
+++ b/java/jni/Android.bp
@@ -16,6 +16,7 @@
"liblog",
"libnativehelper",
],
+ static_libs: ["libavf_cc_flags"],
}
cc_library_shared {