CallRedirectionService API review
Bug: 126699669 Test: Treehugger Change-Id: I56944f6d487660ed447d081b6dfd2cb625087869
This commit is contained in:
@@ -41276,9 +41276,9 @@ package android.telecom {
|
||||
public abstract class CallRedirectionService extends android.app.Service {
|
||||
ctor public CallRedirectionService();
|
||||
method public final void cancelCall();
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method @Nullable public final android.os.IBinder onBind(@NonNull android.content.Intent);
|
||||
method public abstract void onPlaceCall(@NonNull android.net.Uri, @NonNull android.telecom.PhoneAccountHandle, boolean);
|
||||
method public final boolean onUnbind(android.content.Intent);
|
||||
method public final boolean onUnbind(@NonNull android.content.Intent);
|
||||
method public final void placeCallUnmodified();
|
||||
method public final void redirectCall(@NonNull android.net.Uri, @NonNull android.telecom.PhoneAccountHandle, boolean);
|
||||
field public static final String SERVICE_INTERFACE = "android.telecom.CallRedirectionService";
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package android.telecom;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SdkConstant;
|
||||
import android.app.Service;
|
||||
import android.content.Intent;
|
||||
@@ -196,12 +197,12 @@ public abstract class CallRedirectionService extends Service {
|
||||
}
|
||||
|
||||
@Override
|
||||
public final IBinder onBind(Intent intent) {
|
||||
public final @Nullable IBinder onBind(@NonNull Intent intent) {
|
||||
return new CallRedirectionBinder();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final boolean onUnbind(Intent intent) {
|
||||
public final boolean onUnbind(@NonNull Intent intent) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user