what-the-bank/sources/com/huawei/hms/adapter/InnerBinderAdapter.java

37 lines
1.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.adapter;
import android.content.Context;
import com.huawei.hms.support.log.HMSLog;
/* loaded from: classes2.dex */
public class InnerBinderAdapter extends BinderAdapter {
private static final Object j = new Object();
private static BinderAdapter k;
private InnerBinderAdapter(Context context, String str, String str2) {
super(context, str, str2);
}
public static BinderAdapter getInstance(Context context, String str, String str2) {
BinderAdapter binderAdapter;
HMSLog.i("InnerBinderAdapter", "InnerBinderAdapter getInstance.");
synchronized (j) {
if (k == null) {
k = new InnerBinderAdapter(context, str, str2);
}
binderAdapter = k;
}
return binderAdapter;
}
@Override // com.huawei.hms.adapter.BinderAdapter
protected int getConnTimeOut() {
return 2001;
}
@Override // com.huawei.hms.adapter.BinderAdapter
protected int getMsgDelayDisconnect() {
return 2002;
}
}