Make CallScreening.CallResponse static
A small mistake in my previous CL. The response object
needs to be static.
Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9
diff --git a/api/current.txt b/api/current.txt
index bfbb17e..c52625b 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -35395,14 +35395,14 @@
field public static final java.lang.String SERVICE_INTERFACE = "android.telecom.CallScreeningService";
}
- public class CallScreeningService.CallResponse {
+ public static class CallScreeningService.CallResponse {
method public boolean getDisallowCall();
method public boolean getRejectCall();
method public boolean getSkipCallLog();
method public boolean getSkipNotification();
}
- public class CallScreeningService.CallResponse.Builder {
+ public static class CallScreeningService.CallResponse.Builder {
ctor public CallScreeningService.CallResponse.Builder();
method public android.telecom.CallScreeningService.CallResponse build();
method public android.telecom.CallScreeningService.CallResponse.Builder setDisallowCall(boolean);
diff --git a/api/system-current.txt b/api/system-current.txt
index c10954c..25c34596 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -37701,14 +37701,14 @@
field public static final java.lang.String SERVICE_INTERFACE = "android.telecom.CallScreeningService";
}
- public class CallScreeningService.CallResponse {
+ public static class CallScreeningService.CallResponse {
method public boolean getDisallowCall();
method public boolean getRejectCall();
method public boolean getSkipCallLog();
method public boolean getSkipNotification();
}
- public class CallScreeningService.CallResponse.Builder {
+ public static class CallScreeningService.CallResponse.Builder {
ctor public CallScreeningService.CallResponse.Builder();
method public android.telecom.CallScreeningService.CallResponse build();
method public android.telecom.CallScreeningService.CallResponse.Builder setDisallowCall(boolean);
diff --git a/api/test-current.txt b/api/test-current.txt
index c076ad6..25dfa1e 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -35409,14 +35409,14 @@
field public static final java.lang.String SERVICE_INTERFACE = "android.telecom.CallScreeningService";
}
- public class CallScreeningService.CallResponse {
+ public static class CallScreeningService.CallResponse {
method public boolean getDisallowCall();
method public boolean getRejectCall();
method public boolean getSkipCallLog();
method public boolean getSkipNotification();
}
- public class CallScreeningService.CallResponse.Builder {
+ public static class CallScreeningService.CallResponse.Builder {
ctor public CallScreeningService.CallResponse.Builder();
method public android.telecom.CallScreeningService.CallResponse build();
method public android.telecom.CallScreeningService.CallResponse.Builder setDisallowCall(boolean);
diff --git a/telecomm/java/android/telecom/CallScreeningService.java b/telecomm/java/android/telecom/CallScreeningService.java
index 1b6e162..f62b170 100644
--- a/telecomm/java/android/telecom/CallScreeningService.java
+++ b/telecomm/java/android/telecom/CallScreeningService.java
@@ -89,7 +89,7 @@
/*
* Information about how to respond to an incoming call.
*/
- public class CallResponse {
+ public static class CallResponse {
private final boolean mShouldDisallowCall;
private final boolean mShouldRejectCall;
private final boolean mShouldSkipCallLog;
@@ -140,7 +140,7 @@
return mShouldSkipNotification;
}
- public class Builder {
+ public static class Builder {
private boolean mShouldDisallowCall;
private boolean mShouldRejectCall;
private boolean mShouldSkipCallLog;