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

Commit 0a7a9a3f authored by Jack Yu's avatar Jack Yu
Browse files

Removed unused methods

Removed getAllSubscriptionInfoCount(), getDefaultSmsPhoneId(), and
getDefaultDataPhoneId().

Bug: 239607619
Test: Manual
Merged-In: I03752b7ccae39290814f894007ebe9e3d32c083e
Change-Id: I03752b7ccae39290814f894007ebe9e3d32c083e
parent 392e8a37
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1052,7 +1052,6 @@ public class SubscriptionController extends ISub.Stub {
     * @param callingFeatureId The feature in the package
     * @return all SIM count in database, include what was inserted before
     */
    @Override
    public int getAllSubInfoCount(String callingPackage, String callingFeatureId) {
        if (DBG) logd("[getAllSubInfoCount]+");

@@ -3413,12 +3412,7 @@ public class SubscriptionController extends ISub.Stub {
            pw.println(" defaultDataSubId=" + getDefaultDataSubId());
            pw.println(" defaultVoiceSubId=" + getDefaultVoiceSubId());
            pw.println(" defaultSmsSubId=" + getDefaultSmsSubId());

            pw.println(" defaultDataPhoneId=" + SubscriptionManager
                    .from(mContext).getDefaultDataPhoneId());
            pw.println(" defaultVoicePhoneId=" + SubscriptionManager.getDefaultVoicePhoneId());
            pw.println(" defaultSmsPhoneId=" + SubscriptionManager
                    .from(mContext).getDefaultSmsPhoneId());
            pw.flush();

            for (Entry<Integer, ArrayList<Integer>> entry : mSlotIndexToSubIds.entrySet()) {
+0 −13
Original line number Diff line number Diff line
@@ -92,19 +92,6 @@ public class SubscriptionManagerService extends ISub.Stub {
        return null;
    }

    /**
     * @param callingPackage The package making the call.
     * @param callingFeatureId The feature in the package
     *
     * @return the count of all subscriptions in the database, this includes all subscriptions that
     * have been seen.
     */
    @Override
    public int getAllSubInfoCount(@NonNull String callingPackage,
            @NonNull String callingFeatureId) {
        return 0;
    }

    /**
     * Get the active {@link SubscriptionInfo} with the subscription id key.
     *