Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97aa1850 authored by Hai Zhang's avatar Hai Zhang Committed by Android (Google) Code Review
Browse files

Merge "Add missing parts for renaming of the call redirection role."

parents a4cceec0 b0146d7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
 * }
 *
+2 −3
Original line number Diff line number Diff line
@@ -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;

@@ -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).
 *
@@ -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).
 */