Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
PrictureTranslate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bixing
PrictureTranslate
Commits
cab4eb95
Commit
cab4eb95
authored
May 09, 2026
by
qingt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app 模块 升级16kb
parent
5bc33fa5
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
340 deletions
+39
-340
build.gradle
app/build.gradle
+31
-57
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+0
-267
PictureTranslateCutOutPhotoActivity.java
...anslate/activity/PictureTranslateCutOutPhotoActivity.java
+1
-1
InterstitialAdManager.java
...src/main/java/com/gem/media/ad/InterstitialAdManager.java
+1
-3
InterstitialHalfAdManager.java
...main/java/com/gem/media/ad/InterstitialHalfAdManager.java
+1
-3
OpenAdManager.java
app/src/main/java/com/gem/media/ad/OpenAdManager.java
+1
-3
build.gradle
build.gradle
+3
-5
gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+1
-1
No files found.
app/build.gradle
View file @
cab4eb95
...
...
@@ -4,19 +4,19 @@ plugins {
android
{
namespace
'com.ads.cal.picturetranslate'
compileSdk
3
4
compileSdk
3
5
defaultConfig
{
applicationId
"com.hr.heart.rate"
minSdk
24
targetSdk
3
4
targetSdk
3
5
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
ndk
{
abiFilters
"armeabi-v7a"
,
"arm64-v8a"
,
"x86"
,
"x86_64"
abiFilters
"armeabi-v7a"
,
"arm64-v8a"
}
}
...
...
@@ -66,7 +66,7 @@ dependencies {
implementation
'androidx.appcompat:appcompat:1.6.1'
implementation
'com.google.android.material:material:1.9.0'
implementation
'androidx.camera:camera-view:1.
2.3
'
implementation
'androidx.camera:camera-view:1.
4.2
'
implementation
'androidx.lifecycle:lifecycle-process:2.6.2'
testImplementation
'junit:junit:4.13.2'
androidTestImplementation
'androidx.test.ext:junit:1.1.5'
...
...
@@ -78,31 +78,33 @@ dependencies {
// To recognize Latin script
implementation
'com.google.mlkit:text-recognition:16.0.
0
'
implementation
'com.google.mlkit:text-recognition:16.0.
1
'
// To recognize Chinese script
implementation
'com.google.mlkit:text-recognition-chinese:16.0.
0
'
implementation
'com.google.mlkit:text-recognition-chinese:16.0.
1
'
// To recognize Devanagari script
implementation
'com.google.mlkit:text-recognition-devanagari:16.0.
0
'
implementation
'com.google.mlkit:text-recognition-devanagari:16.0.
1
'
// To recognize Japanese script
implementation
'com.google.mlkit:text-recognition-japanese:16.0.
0
'
implementation
'com.google.mlkit:text-recognition-japanese:16.0.
1
'
// To recognize Korean script
implementation
'com.google.mlkit:text-recognition-korean:16.0.
0
'
implementation
'com.google.mlkit:text-recognition-korean:16.0.
1
'
implementation
"androidx.camera:camera-core:1.3.0-alpha04"
implementation
"androidx.camera:camera-camera2:1.3.0-alpha04"
implementation
"androidx.camera:camera-lifecycle:1.3.0-alpha04"
// 升级到 1.4.2,修复 libimage_processing_util_jni.so 的 4KB 页对齐问题
// (1.4.0-rc01 于 2024-08-07 包含 16KB page size 修复,兼容 AGP 8.5.x)
implementation
"androidx.camera:camera-core:1.4.2"
implementation
"androidx.camera:camera-camera2:1.4.2"
implementation
"androidx.camera:camera-lifecycle:1.4.2"
//图像裁剪
implementation
'com.edmodo:cropper:
1.0.1
'
implementation
'com.github.bumptech.glide:glide:
4.15.1
'
annotationProcessor
'com.github.bumptech.glide:compiler:
4.12.0
'
implementation
'com.edmodo:cropper:
2.0.0
'
implementation
'com.github.bumptech.glide:glide:
5.0.7
'
annotationProcessor
'com.github.bumptech.glide:compiler:
5.0.7
'
implementation
'pl.droidsonroids.gif:android-gif-drawable:1.2.
27
'
implementation
'pl.droidsonroids.gif:android-gif-drawable:1.2.
31
'
implementation
(
"org.greenrobot:eventbus:3.3.1"
)
// Import the BoM for the Firebase platform
...
...
@@ -116,65 +118,37 @@ dependencies {
//facebook
implementation
'com.facebook.android:facebook-android-sdk:latest.release'
//TU (Necessary)
api
"com.thinkup.sdk:core-tpn:6.5.36.2"
api
"com.thinkup.sdk:nativead-tpn:6.5.36.2"
api
"com.thinkup.sdk:banner-tpn:6.5.36.2"
api
"com.thinkup.sdk:interstitial-tpn:6.5.36.2"
api
"com.thinkup.sdk:rewardedvideo-tpn:6.5.36.2"
api
"com.thinkup.sdk:splash-tpn:6.5.36.2"
//TU (Necessary)
api
"com.thinkup.sdk:core-tpn:6.6.20.1"
//Androidx (Necessary)
api
"androidx.appcompat:appcompat:1.6.1"
api
"androidx.browser:browser:1.4.0"
//Vungle
api
"com.thinkup.sdk:adapter-tpn-vungle:
6.5.36.4
"
api
"com.thinkup.sdk:adapter-tpn-vungle:
7.6.1.1.1
"
api
"com.vungle:vungle-ads:7.6.1"
api
"com.google.android.gms:play-services-basement:18.1.0"
api
"com.google.android.gms:play-services-ads-identifier:18.0.1"
//UnityAds
api
"com.thinkup.sdk:adapter-tpn-unityads:6.5.36"
api
"com.unity3d.ads:unity-ads:4.16.1"
//Bigo
api
"com.thinkup.sdk:adapter-tpn-bigo:6.5.36"
api
"com.bigossp:bigo-ads:5.5.1"
//Pubnative
api
"com.thinkup.sdk:adapter-tpn-pubnative:6.5.36"
api
"net.pubnative:hybid.sdk:3.6.2"
//Pangle
api
"com.thinkup.sdk:adapter-tpn-pangle:
6.5.36
"
api
"com.pangle.global:pag-sdk:7.
6.0.2
"
api
"com.thinkup.sdk:adapter-tpn-pangle:
7.9.1.0.1.0
"
api
"com.pangle.global:pag-sdk:7.
9.1.0
"
api
"com.google.android.gms:play-services-ads-identifier:18.2.0"
//Admob
api
"com.thinkup.sdk:adapter-tpn-admob:6.5.36"
api
"com.google.android.gms:play-services-ads:24.6.0"
//TU Adx SDK(Necessary)
api
"com.thinkup.sdk:adapter-tpn-sdm:6.5.
36.8
"
api
"com.smartdigimkttech.sdk:smartdigimkttech-sdk:6.5.
47
"
api
"com.thinkup.sdk:adapter-tpn-sdm:6.5.
72.1.0
"
api
"com.smartdigimkttech.sdk:smartdigimkttech-sdk:6.5.
72
"
//AppLovin
api
"com.thinkup.sdk:adapter-tpn-applovin:
6.5.36
"
api
"com.applovin:applovin-sdk:13.
4
.0"
api
"com.thinkup.sdk:adapter-tpn-applovin:
13.6.0.1.0
"
api
"com.applovin:applovin-sdk:13.
6
.0"
//Mintegral
api
"com.thinkup.sdk:adapter-tpn-mintegral:6.5.36"
api
"com.mbridge.msdk.oversea:mbridge_android_sdk:16.9.91"
api
"androidx.recyclerview:recyclerview:1.1.0"
//Tramini
api
"com.thinkup.sdk:tramini-plugin-tpn:6.5.36"
// implementation 'com.tencent.bugly:crashreport:latest.release'
api
"com.thinkup.sdk:adapter-tpn-mintegral:17.0.91.1.0"
api
"com.mbridge.msdk.oversea:mbridge_android_sdk:17.0.91"
implementation
'androidx.cardview:cardview:1.0.0'
api
"com.
airbnb.android:lottie:6.1.
0"
//Tramini
api
"com.
thinkup.sdk:tramini-plugin-tpn:6.6.2
0"
}
\ No newline at end of file
app/src/main/AndroidManifest.xml
View file @
cab4eb95
...
...
@@ -205,153 +205,7 @@
</intent-filter>
</service>
<!-- tt start-->
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTLandingPageActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_landing_page"
tools:replace=
"android:icon, android:excludeFromRecents, android:launchMode, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTFullScreenExpressVideoActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_new"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTInterstitialActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_interaction"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTInterstitialExpressActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_interaction"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTDelegateActivity"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar"
tools:replace=
"android:icon, android:excludeFromRecents, android:label"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTRewardVideoActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_new"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTVideoLandingPageActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_new"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTRewardExpressVideoActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_new"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTFullScreenVideoActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_full_screen_new"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTPlayableLandingPageActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_landing_page"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTVideoLandingPageLink2Activity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:theme=
"@style/tt_landing_page"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTWebsiteActivity"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:launchMode=
"standard"
android:noHistory=
"true"
android:screenOrientation=
"portrait"
android:theme=
"@style/tt_privacy_landing_page"
tools:replace=
"android:icon, android:excludeFromRecents, android:label"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTAppOpenAdActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:launchMode=
"standard"
android:theme=
"@style/tt_app_open_ad_no_animation"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:noHistory=
"true"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.bytedance.sdk.openadsdk.activity.TTAdActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:launchMode=
"standard"
android:theme=
"@style/tt_full_screen_new"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:noHistory=
"true"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<!-- tt end-->
<!-- Vungle start-->
<activity
...
...
@@ -451,17 +305,6 @@
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.thinkup.core.basead.ui.web.WebLandPageActivity"
android:configChanges=
"keyboard|keyboardHidden|orientation|screenSize"
android:exported=
"false"
android:launchMode=
"singleTop"
android:theme=
"@android:style/Theme.Light.NoTitleBar"
android:windowSoftInputMode=
"adjustResize"
android:excludeFromRecents=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.thinkup.core.activity.TUGdprAuthActivity"
...
...
@@ -525,117 +368,7 @@
<!-- topon end-->
<!--unity3d start-->
<activity
android:name=
"com.unity3d.services.ads.adunit.AdUnitActivity"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:exported=
"false"
android:hardwareAccelerated=
"true"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:screenOrientation=
"behind"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.unity3d.services.ads.adunit.AdUnitTransparentActivity"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:exported=
"false"
android:hardwareAccelerated=
"true"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:screenOrientation=
"behind"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.unity3d.services.ads.adunit.AdUnitTransparentSoftwareActivity"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:exported=
"false"
android:hardwareAccelerated=
"false"
android:theme=
"@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:screenOrientation=
"behind"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.unity3d.services.ads.adunit.AdUnitSoftwareActivity"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:exported=
"false"
android:hardwareAccelerated=
"false"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:screenOrientation=
"behind"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"com.unity3d.ads.adplayer.FullScreenWebViewDisplay"
android:configChanges=
"fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:exported=
"false"
android:hardwareAccelerated=
"true"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
android:screenOrientation=
"behind"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<!--unity3d end-->
<!--verve start-->
<activity
android:name=
"net.pubnative.lite.sdk.interstitial.activity.MraidInterstitialActivity"
android:configChanges=
"keyboardHidden|screenSize"
android:screenOrientation=
"behind"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"net.pubnative.lite.sdk.interstitial.activity.VastInterstitialActivity"
android:configChanges=
"keyboardHidden|screenSize"
android:screenOrientation=
"behind"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"net.pubnative.lite.sdk.rewarded.activity.MraidRewardedActivity"
android:configChanges=
"keyboardHidden|screenSize"
android:screenOrientation=
"behind"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"net.pubnative.lite.sdk.rewarded.activity.VastRewardedActivity"
android:configChanges=
"keyboardHidden|screenSize"
android:screenOrientation=
"behind"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<activity
android:name=
"net.pubnative.lite.sdk.contentinfo.AdFeedbackActivity"
android:configChanges=
"orientation|screenSize|screenLayout|keyboardHidden"
tools:ignore=
"LockedOrientationActivity"
android:excludeFromRecents=
"true"
android:noHistory=
"true"
android:icon=
"@android:drawable/divider_horizontal_bright"
android:label=
"@string/heart_lable"
tools:replace=
"android:icon, android:excludeFromRecents, android:label, android:configChanges"
/>
<!--verve end-->
</application>
...
...
app/src/main/java/com/ads/cal/picturetranslate/activity/PictureTranslateCutOutPhotoActivity.java
View file @
cab4eb95
...
...
@@ -117,7 +117,7 @@ public class PictureTranslateCutOutPhotoActivity extends BaseActivity {
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
cropImageView
.
setImageBitmap
(
bitmap
,
exif
);
cropImageView
.
setImageBitmap
(
bitmap
);
}
}
...
...
app/src/main/java/com/gem/media/ad/InterstitialAdManager.java
View file @
cab4eb95
...
...
@@ -249,9 +249,7 @@ public class InterstitialAdManager {
// }
// }
}
if
(!
TextUtils
.
isEmpty
(
sAdId
))
{
TUInterstitial
.
entryAdScenario
(
sAdId
,
"f65bf35b235ce0"
);
}
if
(
null
!=
mInterstitialAd
&&
mInterstitialAd
.
isAdReady
())
{
mInterstitialAd
.
show
(
activity
,
"f65bf35b235ce0"
);
}
...
...
app/src/main/java/com/gem/media/ad/InterstitialHalfAdManager.java
View file @
cab4eb95
...
...
@@ -223,9 +223,7 @@ public class InterstitialHalfAdManager {
if
(
activity
.
isFinishing
()
||
activity
.
isDestroyed
())
{
return
;
}
if
(!
TextUtils
.
isEmpty
(
sAdId
))
{
TUInterstitial
.
entryAdScenario
(
sAdId
,
"f65bf35b235ce0"
);
}
if
(
null
!=
mInterstitialAd
&&
mInterstitialAd
.
isAdReady
())
{
mInterstitialAd
.
show
(
activity
,
"f65bf35b235ce0"
);
}
...
...
app/src/main/java/com/gem/media/ad/OpenAdManager.java
View file @
cab4eb95
...
...
@@ -265,9 +265,7 @@ public class OpenAdManager {
return
;
}
}
if
(!
TextUtils
.
isEmpty
(
sAdId
))
{
TUSplashAd
.
entryAdScenario
(
sAdId
,
"f65bf35e68ddf9"
);
}
if
(
null
!=
splashAd
&&
splashAd
.
isAdReady
())
{
splashAd
.
show
(
activity
,
viewGroup
,
"f65bf35e68ddf9"
);
}
...
...
build.gradle
View file @
cab4eb95
...
...
@@ -6,16 +6,14 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:
7.4
.2'
classpath
'com.android.tools.build:gradle:
8.5
.2'
classpath
'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20'
classpath
"cn.kw.lib.plugin:sep-plugin:2.4.7"
}
}
plugins
{
id
'com.android.application'
version
'8.
1.1
'
apply
false
id
'com.android.library'
version
'8.
1.1
'
apply
false
id
'com.android.application'
version
'8.
0.2
'
apply
false
id
'com.android.library'
version
'8.
0.2
'
apply
false
}
task
clean
(
type:
Delete
)
{
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
cab4eb95
#Fri Sep 22 15:53:39 CST 2023
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-8.
4
-bin.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-8.
7
-bin.zip
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment