Loading telecomm/java/android/telecom/CallScreeningService.java +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ import java.lang.annotation.RetentionPolicy; * * public void requestRole() { * RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING_APP"); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING"); * startActivityForResult(intent, REQUEST_ID); * } * Loading telecomm/java/android/telecom/InCallService.java +2 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ import com.android.internal.os.SomeArgs; import com.android.internal.telecom.IInCallAdapter; import com.android.internal.telecom.IInCallService; import java.lang.String; import java.util.Collections; import java.util.List; Loading Loading @@ -212,7 +211,7 @@ import java.util.List; * {@link android.Manifest.permission.CALL_COMPANION_APP}.</li> * </ul> * <p> * Your app should request to fill the role {@code android.app.role.CAR_MODE_DIALER_APP} in order to * Your app should request to fill the role {@code android.app.role.CAR_MODE_DIALER} in order to * become the default (see <a href="#requestRole">above</a> for how to request your app fills this * role). * Loading @@ -232,7 +231,7 @@ import java.util.List; * {@link android.Manifest.permission.CALL_COMPANION_APP}.</li> * </ul> * <p> * Your app should request to fill the role {@code android.app.role.CALL_COMPANION_APP} in order to * Your app should request to fill the role {@code android.app.role.CALL_COMPANION} in order to * become a call companion app (see <a href="#requestRole">above</a> for how to request your app * fills this role). */ Loading Loading
telecomm/java/android/telecom/CallScreeningService.java +1 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ import java.lang.annotation.RetentionPolicy; * * public void requestRole() { * RoleManager roleManager = (RoleManager) getSystemService(ROLE_SERVICE); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING_APP"); * Intent intent = roleManager.createRequestRoleIntent("android.app.role.CALL_SCREENING"); * startActivityForResult(intent, REQUEST_ID); * } * Loading
telecomm/java/android/telecom/InCallService.java +2 −3 Original line number Diff line number Diff line Loading @@ -35,7 +35,6 @@ import com.android.internal.os.SomeArgs; import com.android.internal.telecom.IInCallAdapter; import com.android.internal.telecom.IInCallService; import java.lang.String; import java.util.Collections; import java.util.List; Loading Loading @@ -212,7 +211,7 @@ import java.util.List; * {@link android.Manifest.permission.CALL_COMPANION_APP}.</li> * </ul> * <p> * Your app should request to fill the role {@code android.app.role.CAR_MODE_DIALER_APP} in order to * Your app should request to fill the role {@code android.app.role.CAR_MODE_DIALER} in order to * become the default (see <a href="#requestRole">above</a> for how to request your app fills this * role). * Loading @@ -232,7 +231,7 @@ import java.util.List; * {@link android.Manifest.permission.CALL_COMPANION_APP}.</li> * </ul> * <p> * Your app should request to fill the role {@code android.app.role.CALL_COMPANION_APP} in order to * Your app should request to fill the role {@code android.app.role.CALL_COMPANION} in order to * become a call companion app (see <a href="#requestRole">above</a> for how to request your app * fills this role). */ Loading