extras: Make IFAAManager compile again

Change-Id: Iae2d1004bd1b3c939b552f09ea994ae87d71d73e
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Bruno Martins 2020-09-19 20:06:49 +01:00 committed by pix106
parent d8ccb485a4
commit 6015614128
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,11 @@
package org.ifaa.android.manager;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
public class IFAAManagerFactory {
@UnsupportedAppUsage
public static IFAAManager getIFAAManager(Context context, int authType) {
return IFAAManagerImpl.getInstance(context);
}
}

View file

@ -0,0 +1,9 @@
package org.ifaa.android.manager;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
public abstract class IFAAManagerV2 extends IFAAManager {
@UnsupportedAppUsage
public abstract byte[] processCmdV2(Context paramContext, byte[] paramArrayOfByte);
}

View file

@ -0,0 +1,20 @@
package org.ifaa.android.manager;
import android.compat.annotation.UnsupportedAppUsage;
public abstract class IFAAManagerV3 extends IFAAManagerV2 {
@UnsupportedAppUsage
public static final String KEY_FINGERPRINT_FULLVIEW = "org.ifaa.ext.key.CUSTOM_VIEW";
@UnsupportedAppUsage
public static final String KEY_GET_SENSOR_LOCATION = "org.ifaa.ext.key.GET_SENSOR_LOCATION";
@UnsupportedAppUsage
public static final String VALUE_FINGERPRINT_DISABLE = "disable";
@UnsupportedAppUsage
public static final String VLAUE_FINGERPRINT_ENABLE = "enable";
@UnsupportedAppUsage
public abstract String getExtInfo(int authType, String keyExtInfo);
@UnsupportedAppUsage
public abstract void setExtInfo(int authType, String keyExtInfo, String valExtInfo);
}