啟動頁跳轉廣告點擊返回鍵退出應用問題修復

This commit is contained in:
18401019693 2023-10-26 16:42:34 +08:00
parent adcafc7e16
commit 07d3b190e2
2 changed files with 11 additions and 2 deletions

View File

@ -392,6 +392,15 @@ public class LauncherActivity extends AppCompatActivity implements View.OnClickL
mPlayer = null;
}
@Override
public void onBackPressed() {
if (mLauncherAdViewHolder != null) {
mLauncherAdViewHolder.release();
checkUidAndToken();
return;
}
super.onBackPressed();
}
/**
* 播放广告

View File

@ -9,9 +9,9 @@ ext {
]
manifestPlaceholders = [
//
// serverHost : "https://napi.yaoulive.com",
serverHost : "https://napi.yaoulive.com",
//
serverHost : " https://ceshi.yaoulive.com",
// serverHost : " https://ceshi.yaoulive.com",