DO NOT MERGE: Remove InterruptedException from stub NsdService#create
InterruptedException is removed from real NsdService#create.
Thus, remove InterruptedException from stub NsdService#create as
well.
Bug: 209894875
Test: m
Ignore-AOSP-First: BB on this branch when running TH on AOSP.
Change-Id: I4af5ee2a033b43e6c051b36ee7b0018c6f2b3308
diff --git a/buildstubs-t/stubs-src/com/android/server/NsdService.java b/buildstubs-t/stubs-src/com/android/server/NsdService.java
index 4a3ba90..0c625f0 100644
--- a/buildstubs-t/stubs-src/com/android/server/NsdService.java
+++ b/buildstubs-t/stubs-src/com/android/server/NsdService.java
@@ -26,7 +26,7 @@
*/
public final class NsdService extends Binder {
/** Create instance */
- public static NsdService create(Context ctx) throws InterruptedException {
+ public static NsdService create(Context ctx) {
throw new RuntimeException("This is a stub class");
}
}