[TF][KILL] Google Wallet and Android Pay

(cherry picked from commit 4ef98970926879072ac35b5fab662060c92c3847)
This commit is contained in:
thermatk 2019-01-25 22:27:35 +01:00 committed by 世界
parent f79ff18925
commit 72a76b7d82
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 0 additions and 9 deletions

View File

@ -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"})