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

Commit deab9bc0 authored by Houston Hoffman's avatar Houston Hoffman Committed by Gerrit - the friendly Code Review server
Browse files

NFC: Remove interfaces not supported by others

Remove isSeEnabled() and deliverSeIntent()

Change-Id: I74f007b1305d7bd1ca5b1a030840886f914a1fb9
CRs-Fixed: 642365
parent 4646b94d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package android.nfc;

import android.os.Bundle;
import android.content.Intent;


/**
@@ -31,6 +30,4 @@ interface INfcAdapterExtras {
    void setCardEmulationRoute(in String pkg, int route);
    void authenticate(in String pkg, in byte[] token);
    String getDriverName(in String pkg);
    boolean isSeEnabled(in String pkg, int sEID);
    void deliverSeIntent(in String pkg, in Intent seIntent);
}
+0 −17
Original line number Diff line number Diff line
@@ -252,21 +252,4 @@ public final class NfcAdapterExtras {
            return "";
        }
    }

    public boolean isSeEnabled(int sEID) {
        try {
            return sService.isSeEnabled(mPackageName, sEID);
        } catch (RemoteException e) {
            attemptDeadServiceRecovery(e);
            return false;
        }
    }

    public void deliverSeIntent(Intent seIntent) {
        try {
            sService.deliverSeIntent(mPackageName, seIntent);
        } catch (RemoteException e) {
            attemptDeadServiceRecovery(e);
        }
    }
}