Loading telecomm/java/android/telecom/CallScreeningService.java +1 −5 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package android.telecom; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.SdkConstant; import android.app.Service; Loading @@ -33,9 +32,6 @@ import com.android.internal.os.SomeArgs; import com.android.internal.telecom.ICallScreeningAdapter; import com.android.internal.telecom.ICallScreeningService; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * This service can be implemented by the default dialer (see * {@link TelecomManager#getDefaultDialerPackage()}) or a third party app to allow or disallow Loading Loading @@ -75,7 +71,7 @@ import java.lang.annotation.RetentionPolicy; * * public void requestRole() { * RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING"); * Intent intent = roleManager.createRequestRoleIntent(RoleManager.ROLE_CALL_SCREENING); * startActivityForResult(intent, REQUEST_ID); * } * Loading Loading
telecomm/java/android/telecom/CallScreeningService.java +1 −5 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package android.telecom; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.SdkConstant; import android.app.Service; Loading @@ -33,9 +32,6 @@ import com.android.internal.os.SomeArgs; import com.android.internal.telecom.ICallScreeningAdapter; import com.android.internal.telecom.ICallScreeningService; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * This service can be implemented by the default dialer (see * {@link TelecomManager#getDefaultDialerPackage()}) or a third party app to allow or disallow Loading Loading @@ -75,7 +71,7 @@ import java.lang.annotation.RetentionPolicy; * * public void requestRole() { * RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING"); * Intent intent = roleManager.createRequestRoleIntent(RoleManager.ROLE_CALL_SCREENING); * startActivityForResult(intent, REQUEST_ID); * } * Loading