From b9b097acb0b09330d6eb8acde704c3a31f4f1784 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Mon, 12 Jul 2021 23:03:55 -0700 Subject: [PATCH] Remove unused utility API. Test: TH Bug: 146564366 Change-Id: I198cbd6e93335d8daaba42b20d5c28721be948f4 --- .../com/android/internal/telephony/util/TelephonyUtils.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/telephony/common/com/android/internal/telephony/util/TelephonyUtils.java b/telephony/common/com/android/internal/telephony/util/TelephonyUtils.java index 1252965406883..3c799e0bfeea4 100644 --- a/telephony/common/com/android/internal/telephony/util/TelephonyUtils.java +++ b/telephony/common/com/android/internal/telephony/util/TelephonyUtils.java @@ -26,7 +26,6 @@ import android.content.pm.ResolveInfo; import android.os.Binder; import android.os.Bundle; import android.os.PersistableBundle; -import android.os.RemoteException; import android.os.SystemProperties; import android.telephony.TelephonyManager; @@ -74,11 +73,6 @@ public final class TelephonyUtils { return cur == null ? Collections.emptyList() : cur; } - /** Throws a {@link RuntimeException} that wrapps the {@link RemoteException}. */ - public static RuntimeException rethrowAsRuntimeException(RemoteException remoteException) { - throw new RuntimeException(remoteException); - } - /** * Returns a {@link ComponentInfo} from the {@link ResolveInfo}, * or throws an {@link IllegalStateException} if not available.