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

Commit 13abe77f authored by Jonathan Basseri's avatar Jonathan Basseri Committed by Android (Google) Code Review
Browse files

Merge "Fix logic error in CarrierService." into mnc-dev

parents 27a2ce2e c0e7a041
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -86,11 +86,13 @@ public abstract class CarrierService extends Service {
    /** @hide */
    @Override
    public final IBinder onBind(Intent intent) {
        if (!CONFIG_SERVICE_INTERFACE.equals(intent.getAction())
            || !BIND_SERVICE_INTERFACE.equals(intent.getAction())) {
            return null;
        }
        switch (intent.getAction()) {
            case CONFIG_SERVICE_INTERFACE:
            case BIND_SERVICE_INTERFACE:
                return mStubWrapper;
            default:
                null;
        }
    }

    /**