dnsresolver_aidl: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.
Bug: 188871598
Test: build
Change-Id: I2c9ff7210eee5c96cbfac040faeeb0c8ae1c8c47
diff --git a/Android.bp b/Android.bp
index 6e7c0b5..8ea035b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -76,7 +76,7 @@
"binder/android/net/resolv/aidl/**/*.aidl",
],
imports: [
- "netd_event_listener_interface",
+ "netd_event_listener_interface-V1",
],
backend: {
java: {