去掉测试restore订单

This commit is contained in:
guozhen 2025-06-16 19:15:45 +08:00
parent 888c49c670
commit 78c1fd857c
5 changed files with 5 additions and 20 deletions

View File

@ -13,7 +13,7 @@ public class LogUtils {
}
// public static boolean isDebug = ApiService.isDebug;// 是否需要打印bug可以在application的onCreate函数里面初始化
public static boolean isDebug = true;
public static boolean isDebug = false;
// public static boolean isDebug = false;// 是否需要打印bug可以在application的onCreate函数里面初始化
private static final String TAG = "GleeStreamLog";

View File

@ -224,17 +224,6 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
if (listRestore.size() > 0) {
toRestore();
}
// if (!list.isEmpty()) {
// for (GSGooglePayInfo googlePayInfoItem : list) {
// gsGooglePayInfoRestore = googlePayInfoItem;
// handler.postDelayed(new Runnable() {
// @Override
// public void run() {
// userViewModel.restorePay(gsGooglePayInfoRestore);
// }
// }, 2000);
// }
// }
}
}, 3000);
@ -543,11 +532,8 @@ public class AExtractionActivity extends IDDetailsRoundActivity<TManifestService
int itemCount = primaryClip.getItemCount();
if (clipboardManager.hasPrimaryClip() && itemCount > 0) {
ClipData.Item item = primaryClip.getItemAt(0);
if (item != null) {
return item.getText().toString();
} else {
return "";
}
CharSequence text = item.getText();
return text != null ? text.toString() : "";
}
}

View File

@ -179,7 +179,7 @@ public class ZYTStoreActivity extends IDDetailsRoundActivity<ActivityStoreBindin
gsGooglePayInfo.setTransaction_id(purchase.getOrderId());
gsGooglePayInfo.setShow_money(current_price);
vtUserViewModel.getGooglePay(gsGooglePayInfo);
// TIndicator.savePayOrder(gsGooglePayInfo);
// TIndicator.savePayOrder(gsGooglePayInfo);
}, (purchase, str) -> {
binding.loading.hide();
PAYLoginHeaddefault.revealToast(str, 0);
@ -258,7 +258,6 @@ public class ZYTStoreActivity extends IDDetailsRoundActivity<ActivityStoreBindin
public void run() {
listRestore = TIndicator.getPayOrder();
if (!listRestore.isEmpty() && listRestore.size() > 0) {
toRestore();
// for (GSGooglePayInfo googlePayInfoItem : list) {

View File

@ -795,7 +795,7 @@ public class ZYTVideoPlayerDetailsActivity extends IDDetailsRoundActivity<MchDim
super.onStop();
if (vtGooglePlayerAdapter != null && !vtGooglePlayerAdapter.getItems().isEmpty()) {
LSQExampleCloseBean.YPZTestUnselect item = vtGooglePlayerAdapter.getItems().get(currentPosition);
if (!item.isIs_lock() && pageGoogleExoPlayerView() != null) {
if (item!=null&&!item.isIs_lock() && pageGoogleExoPlayerView() != null) {
vtViewModel.uploadHistorySeconds(needRestart ? 0 : pageGoogleExoPlayerView().getlastProgress(), item.getShort_play_id(), item.getShort_play_video_id());
}