新增谷歌服务判断

This commit is contained in:
hch 2024-01-19 10:28:46 +08:00
parent 52c561fa08
commit d6e6164549

View File

@ -117,6 +117,11 @@ public class GoogleBillingManage implements PurchasesUpdatedListener {
} }
} }
public boolean getGoogleService() {
int code = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(mContext);
return code == 0;
}
int querySize = -1; int querySize = -1;
JSONArray tokenList = new JSONArray(); JSONArray tokenList = new JSONArray();
JSONArray orderList = new JSONArray(); JSONArray orderList = new JSONArray();