From df48db3c7cab1e39ffe16738c070644c1ef66782 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Tue, 20 May 2014 13:52:14 -0700 Subject: Address HCE API review comments. Remove AidGroup from public APIs. Bug: 15089341 Change-Id: Ia8e038a12891abc6f1a8e82dbf30b8952e0b1fd7 --- api/current.txt | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index df908e0..c1a58d2 100644 --- a/api/current.txt +++ b/api/current.txt @@ -17647,25 +17647,15 @@ package android.nfc { package android.nfc.cardemulation { - public final class AidGroup implements android.os.Parcelable { - ctor public AidGroup(java.util.ArrayList, java.lang.String); - method public int describeContents(); - method public java.util.ArrayList getAids(); - method public java.lang.String getCategory(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - field public static final int MAX_NUM_AIDS = 256; // 0x100 - } - public final class CardEmulation { method public boolean categoryAllowsForegroundPreference(java.lang.String); - method public android.nfc.cardemulation.AidGroup getAidGroupForService(android.content.ComponentName, java.lang.String); + method public java.util.List getAidsForService(android.content.ComponentName, java.lang.String); method public static synchronized android.nfc.cardemulation.CardEmulation getInstance(android.nfc.NfcAdapter); method public int getSelectionModeForCategory(java.lang.String); method public boolean isDefaultServiceForAid(android.content.ComponentName, java.lang.String); method public boolean isDefaultServiceForCategory(android.content.ComponentName, java.lang.String); - method public boolean registerAidGroupForService(android.content.ComponentName, android.nfc.cardemulation.AidGroup); - method public boolean removeAidGroupForService(android.content.ComponentName, java.lang.String); + method public boolean registerAidsForService(android.content.ComponentName, java.lang.String, java.util.List); + method public boolean removeAidsForService(android.content.ComponentName, java.lang.String); method public boolean setPreferredService(android.app.Activity, android.content.ComponentName); method public boolean unsetPreferredService(android.app.Activity); field public static final java.lang.String ACTION_CHANGE_DEFAULT = "android.nfc.cardemulation.action.ACTION_CHANGE_DEFAULT"; -- cgit v1.1