From 8ef04327f7b0111ef63bc26db98c704827d973a8 Mon Sep 17 00:00:00 2001 From: Hakjun Choi Date: Fri, 4 Mar 2022 13:59:51 +0000 Subject: [PATCH] Edited to correct incorrect decription 1) Remove unnecessary comments from the methods in ImsMmtelManager 2) Add guide comment for ProvisioningManager Bug: b/170858168 Test: modify comment only & build test Change-Id: I767c66899588d66a9cd3a00b6db434723993ee77 --- telephony/java/android/telephony/ims/ImsMmTelManager.java | 8 -------- .../java/android/telephony/ims/ProvisioningManager.java | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/telephony/java/android/telephony/ims/ImsMmTelManager.java b/telephony/java/android/telephony/ims/ImsMmTelManager.java index bce210fa22a04..252ca9eb5adf5 100644 --- a/telephony/java/android/telephony/ims/ImsMmTelManager.java +++ b/telephony/java/android/telephony/ims/ImsMmTelManager.java @@ -539,7 +539,6 @@ public class ImsMmTelManager implements RegistrationManager { *
  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -601,7 +600,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -649,7 +647,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -862,7 +859,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -937,7 +933,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -1111,7 +1106,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -1226,7 +1220,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. @@ -1415,7 +1408,6 @@ public class ImsMmTelManager implements RegistrationManager { *

  • The caller has carrier privileges (see * {@link android.telephony.TelephonyManager#hasCarrierPrivileges}) on any * active subscription.
  • - *
  • The caller is the default SMS app for the device.
  • * *

    The profile owner is an app that owns a managed profile on the device; for more details * see Work profiles. diff --git a/telephony/java/android/telephony/ims/ProvisioningManager.java b/telephony/java/android/telephony/ims/ProvisioningManager.java index 677c1a9a7d768..fe9774521273b 100644 --- a/telephony/java/android/telephony/ims/ProvisioningManager.java +++ b/telephony/java/android/telephony/ims/ProvisioningManager.java @@ -55,6 +55,9 @@ import java.util.concurrent.Executor; * IMS provisioning keys are defined per carrier or OEM using OMA-DM or other provisioning * applications and may vary. It is up to the carrier and OEM applications to ensure that the * correct provisioning keys are being used when integrating with a vendor's ImsService. + * + * Use {@link android.telephony.ims.ImsManager#getProvisioningManager(int)} to get an instance of + * this manager. */ @RequiresFeature(PackageManager.FEATURE_TELEPHONY_IMS) public class ProvisioningManager {