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

Commit 407909fb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "NFC: Remove interfaces not supported by others"

parents 4646b94d deab9bc0
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);
        }
    }
}