Add missing parts for renaming of the call redirection role.

Also drops the _APP suffix in role names, to be consistent with other
roles.

Test: manual
Change-Id: Iee3566b353fdf49a916067dfffebcf3d5b87c326
This commit is contained in:
Hai Zhang
2019-02-06 16:32:23 -08:00
parent 0b5a809d04
commit b0146d7f22
2 changed files with 3 additions and 4 deletions

View File

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