sdm845-common: Make IFAAManager compile again

Change-Id: Iae2d1004bd1b3c939b552f09ea994ae87d71d73e
This commit is contained in:
Bruno Martins 2020-09-19 20:06:49 +01:00
parent cb7820057f
commit 61e6b8aaa7
7 changed files with 12 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2019 The LineageOS Project
* Copyright (C) 2017-2020 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -21,6 +21,9 @@ java_library {
"src/**/*.java",
"src/**/I*.aidl",
],
libs: [
"unsupportedappusage",
],
aidl: {
local_include_dirs: ["src"],
},

View File

@ -1,6 +1,6 @@
package org.ifaa.android.manager;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.os.Build.VERSION;
import android.os.SystemProperties;

View File

@ -1,6 +1,6 @@
package org.ifaa.android.manager;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
public class IFAAManagerFactory {

View File

@ -4,7 +4,6 @@ import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.net.wifi.WifiEnterpriseConfig;
import android.os.Build;
import android.os.Build.VERSION;
import android.os.HwBinder;
@ -36,6 +35,8 @@ public class IFAAManagerImpl extends IFAAManagerV4 {
private static volatile IFAAManagerImpl INSTANCE = null;
private static final String CA_CERT_ALIAS_DELIMITER = " ";
private static final String INTERFACE_DESCRIPTOR =
"vendor.xiaomi.hardware.mlipay@1.0::IMlipayService";
private static final String SERVICE_NAME =
@ -156,8 +157,7 @@ public class IFAAManagerImpl extends IFAAManagerV4 {
}
public String getExtInfo(int authType, String keyExtInfo) {
Slog.i(TAG, "getExtInfo:" + authType + WifiEnterpriseConfig.CA_CERT_ALIAS_DELIMITER +
keyExtInfo);
Slog.i(TAG, "getExtInfo:" + authType + CA_CERT_ALIAS_DELIMITER + keyExtInfo);
return initExtString();
}

View File

@ -1,6 +1,6 @@
package org.ifaa.android.manager;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
public abstract class IFAAManagerV2 extends IFAAManager {

View File

@ -1,6 +1,6 @@
package org.ifaa.android.manager;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
public abstract class IFAAManagerV3 extends IFAAManagerV2 {
@UnsupportedAppUsage

View File

@ -1,6 +1,6 @@
package org.ifaa.android.manager;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
public abstract class IFAAManagerV4 extends IFAAManagerV3 {
@UnsupportedAppUsage