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

Commit 5f711c45 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused utility API."

parents 7363d536 b9b097ac
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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.