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

Commit 9d798a92 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Remove unnecessary wtf from ContentService

Test: build / boot
Change-Id: I833e5c83ad094d2ac5f1073c8f6bad8658594cb5
Fixes: 80498080
parent 065aac1a
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@ import android.os.Build;
import android.os.Bundle;
import android.os.FactoryTest;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Process;
import android.os.RemoteException;
import android.os.ResultReceiver;
@@ -255,21 +254,6 @@ public final class ContentService extends IContentService.Stub {
        }
    }

    @Override
    public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
            throws RemoteException {
        try {
            return super.onTransact(code, data, reply, flags);
        } catch (RuntimeException e) {
            // The content service only throws security exceptions, so let's
            // log all others.
            if (!(e instanceof SecurityException)) {
                Slog.wtf(TAG, "Content Service Crash", e);
            }
            throw e;
        }
    }

    /*package*/ ContentService(Context context, boolean factoryTest) {
        mContext = context;
        mFactoryTest = factoryTest;