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

Commit e6113628 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Telecom API doc cleanup.

InCallService - remove references to roles cut in Q release.
TelecomManager - make it more clear how to use the silenceRinger method
and under which conditions it should be used.

Test: Compile; docs only.
Fixes: 130285730
Change-Id: I55f9c2df119140666f8167e8521a4372d1108e7a
Merged-In: I3e55166e4d0d9e68449ac7c157959e8471c16354
parent 6e478ee4
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -70,6 +70,14 @@ import java.util.List;
 * app.
 * app.
 * <p>
 * <p>
 * Further, the pre-loaded dialer will ALWAYS be used when the user places an emergency call.
 * Further, the pre-loaded dialer will ALWAYS be used when the user places an emergency call.
 * <h2>Becoming the Default Phone App</h2>
 * The default dialer/phone app is one which provides the in-call user interface while the device is
 * in a call.  A device is bundled with a system provided default dialer/phone app.  The user may
 * choose a single app to take over this role from the system app.  An app which wishes to fulfill
 * one this role uses the {@code android.app.role.RoleManager} to request that they fill the role.
 * <p>
 * An app filling the role of the default phone app provides a user interface while the device is in
 * a call, and the device is not in car mode.
 * <p>
 * <p>
 * Below is an example manifest registration for an {@code InCallService}. The meta-data
 * Below is an example manifest registration for an {@code InCallService}. The meta-data
 * {@link TelecomManager#METADATA_IN_CALL_SERVICE_UI} indicates that this particular
 * {@link TelecomManager#METADATA_IN_CALL_SERVICE_UI} indicates that this particular