Update the javadoc of TM#addCarrierPrivilegesListener

The deprecated method TM#addCarrierPrivilegesListener is replaced
by registerCarrierPrivilegesCallback, not the unregister one.

Bug: 216549778
Test: m offline-sdk-docs
Change-Id: I38d03e3921112c313f3c1d204ed04f6e1756ff39
This commit is contained in:
Rambo Wang
2022-03-22 07:42:55 -07:00
parent fb8919fac7
commit 5f0502d313

View File

@@ -16870,7 +16870,7 @@ public class TelephonyManager {
* @param executor The executor where {@code listener} will be invoked * @param executor The executor where {@code listener} will be invoked
* @param listener The callback to register * @param listener The callback to register
* @hide * @hide
* @deprecated Use {@link #unregisterCarrierPrivilegesCallback} instead. This API will be * @deprecated Use {@link #registerCarrierPrivilegesCallback} instead. This API will be
* removed prior to API finalization. * removed prior to API finalization.
*/ */
@Deprecated @Deprecated