mirror of https://github.com/NekoX-Dev/NekoX.git
[TF][KILL] Google Wallet and Android Pay
(cherry picked from commit 4ef98970926879072ac35b5fab662060c92c3847)
This commit is contained in:
parent
f79ff18925
commit
72a76b7d82
|
@ -56,7 +56,6 @@ import android.widget.ScrollView;
|
|||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.google.android.gms.common.api.GoogleApiClient;
|
||||
import com.stripe.android.Stripe;
|
||||
import com.stripe.android.TokenCallback;
|
||||
import com.stripe.android.exception.APIConnectionException;
|
||||
|
@ -150,8 +149,6 @@ public class PaymentFormActivity extends BaseFragment implements NotificationCen
|
|||
private HashMap<String, String> codesMap = new HashMap<>();
|
||||
private HashMap<String, String> phoneFormatMap = new HashMap<>();
|
||||
|
||||
private GoogleApiClient googleApiClient;
|
||||
|
||||
private EditTextBoldCursor[] inputFields;
|
||||
private RadioCell[] radioCells;
|
||||
private ActionBarMenuItem doneItem;
|
||||
|
@ -393,16 +390,10 @@ public class PaymentFormActivity extends BaseFragment implements NotificationCen
|
|||
FileLog.e(e);
|
||||
}
|
||||
}
|
||||
if (googleApiClient != null) {
|
||||
googleApiClient.connect();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
if (googleApiClient != null) {
|
||||
googleApiClient.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressLint({"SetJavaScriptEnabled", "AddJavascriptInterface"})
|
||||
|
|
Loading…
Reference in New Issue