From 7b649288b186ee5a8451b5b0bc7ba74768b9d7c5 Mon Sep 17 00:00:00 2001 From: Holly Jiuyu Sun Date: Tue, 10 Apr 2018 10:53:26 -0700 Subject: [PATCH] Fix typos. switchSlots() accepts an array which should be the size of the number of physical slot. Also fix a typo in EuiccCardManager. Bug: 77858827 Test: test on phone Change-Id: If95bc5120df68ce23dc88e60df83542ac817c6e5 --- telephony/java/android/telephony/TelephonyManager.java | 4 ++-- telephony/java/android/telephony/euicc/EuiccCardManager.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index e15d35b5f744e..35a53bc8d8e6e 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -2758,8 +2758,8 @@ public class TelephonyManager { * physical slot index 0, to the logical slot 1. The index of the array means the index of the * logical slots. * - * @param physicalSlots Index i in the array representing physical slot for phone i. The array - * size should be same as {@link #getPhoneCount()}. + * @param physicalSlots The content of the array represents the physical slot index. The array + * size should be same as {@link #getUiccSlotsInfo()}. * @return boolean Return true if the switch succeeds, false if the switch fails. * @hide */ diff --git a/telephony/java/android/telephony/euicc/EuiccCardManager.java b/telephony/java/android/telephony/euicc/EuiccCardManager.java index 38f9745a58b0b..11411778a9abb 100644 --- a/telephony/java/android/telephony/euicc/EuiccCardManager.java +++ b/telephony/java/android/telephony/euicc/EuiccCardManager.java @@ -623,7 +623,7 @@ public class EuiccCardManager { } /** - * Lists all notifications of the given {@code notificationEvents}. + * Lists all notifications of the given {@code events}. * * @param cardId The Id of the eUICC. * @param events bits of the event types ({@link EuiccNotification.Event}) to list.