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

Commit 195c39cb authored by Nick Pelly's avatar Nick Pelly
Browse files

NFC: Submit the missing pieces of previous commit to fix build.

(remove stale code)

Change-Id: I0d08650b6d694ac4493cf0074696d4e1be7d9f87
parent 31bc2f92
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -62,6 +62,4 @@ interface INfcAdapter
    int createLlcpSocket(int sap, int miu, int rw, int linearBufferLength);
    boolean disable();
    boolean enable();
    String getProperties(String param);
    int setProperties(String param, String value);
}
+0 −2
Original line number Diff line number Diff line
@@ -29,6 +29,4 @@ interface INfcAdapterExtras {
    Bundle transceive(in byte[] data_in);
    int getCardEmulationRoute();
    void setCardEmulationRoute(int route);
    void registerTearDownApdus(String packageName, in ApduList apdu);
    void unregisterTearDownApdus(String packageName);
}
+0 −16
Original line number Diff line number Diff line
@@ -207,20 +207,4 @@ public final class NfcAdapterExtras {
    public NfcExecutionEnvironment getEmbeddedExecutionEnvironment() {
        return sEmbeddedEe;
    }

    public void registerTearDownApdus(String packageName, ApduList apdus) {
        try {
            sService.registerTearDownApdus(packageName, apdus);
        } catch (RemoteException e) {
            attemptDeadServiceRecovery(e);
        }
    }

    public void unregisterTearDownApdus(String packageName) {
        try {
            sService.unregisterTearDownApdus(packageName);
        } catch (RemoteException e) {
            attemptDeadServiceRecovery(e);
        }
    }
}