Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Data Recovery White
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Data Recovery White
Commits
6555efe1
Commit
6555efe1
authored
Jul 25, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
0aa86c30
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
AdMaxInterstitialUtils.kt
...a/com/base/datarecovery/ads/max/AdMaxInterstitialUtils.kt
+1
-0
BlackUtils.kt
app/src/main/java/com/base/datarecovery/help/BlackUtils.kt
+3
-0
InstallHelps.kt
...src/main/java/com/base/datarecovery/utils/InstallHelps.kt
+2
-0
No files found.
app/src/main/java/com/base/datarecovery/ads/max/AdMaxInterstitialUtils.kt
View file @
6555efe1
...
@@ -185,6 +185,7 @@ object AdMaxInterstitialUtils {
...
@@ -185,6 +185,7 @@ object AdMaxInterstitialUtils {
AdDisplayUtils
.
getInstance
().
incrementAdRequestCount
()
AdDisplayUtils
.
getInstance
().
incrementAdRequestCount
()
return
true
return
true
}
else
{
}
else
{
LogEx
.
logDebug
(
TAG
,
"isAdInit=$isAdInit"
)
EventUtils
.
event
(
"isAdInit"
,
value
=
"loadInterstitialAd isAdInit=${isAdInit.get()}"
)
EventUtils
.
event
(
"isAdInit"
,
value
=
"loadInterstitialAd isAdInit=${isAdInit.get()}"
)
}
}
return
false
return
false
...
...
app/src/main/java/com/base/datarecovery/help/BlackUtils.kt
View file @
6555efe1
...
@@ -4,6 +4,7 @@ import com.base.datarecovery.BuildConfig
...
@@ -4,6 +4,7 @@ import com.base.datarecovery.BuildConfig
import
com.base.datarecovery.ads.AdmobMaxHelper
import
com.base.datarecovery.ads.AdmobMaxHelper
import
com.base.datarecovery.utils.AESHelper
import
com.base.datarecovery.utils.AESHelper
import
com.base.datarecovery.utils.AppPreferences
import
com.base.datarecovery.utils.AppPreferences
import
com.base.datarecovery.utils.LogEx
import
okhttp3.Call
import
okhttp3.Call
import
okhttp3.Callback
import
okhttp3.Callback
import
okhttp3.MediaType.Companion.toMediaTypeOrNull
import
okhttp3.MediaType.Companion.toMediaTypeOrNull
...
@@ -17,6 +18,7 @@ import java.io.IOException
...
@@ -17,6 +18,7 @@ import java.io.IOException
object
BlackUtils
{
object
BlackUtils
{
private
val
TAG
=
"BlackUtils"
private
val
blcurl
by
lazy
{
private
val
blcurl
by
lazy
{
val
pkg
=
ConfigHelper
.
packageName
val
pkg
=
ConfigHelper
.
packageName
...
@@ -71,6 +73,7 @@ object BlackUtils {
...
@@ -71,6 +73,7 @@ object BlackUtils {
if
(
i
.
toString
()
!=
"null"
)
{
if
(
i
.
toString
()
!=
"null"
)
{
i
!!
.
groupValues
[
1
].
let
{
i
!!
.
groupValues
[
1
].
let
{
val
str
=
AESHelper
.
decrypt
(
it
)
val
str
=
AESHelper
.
decrypt
(
it
)
LogEx
.
logDebug
(
TAG
,
"black str=$str"
)
AdmobMaxHelper
.
isBlack
=
str
.
equals
(
"true"
)
AdmobMaxHelper
.
isBlack
=
str
.
equals
(
"true"
)
}
}
}
}
...
...
app/src/main/java/com/base/datarecovery/utils/InstallHelps.kt
View file @
6555efe1
...
@@ -33,6 +33,7 @@ object InstallHelps {
...
@@ -33,6 +33,7 @@ object InstallHelps {
val
referrerClient
=
InstallReferrerClient
.
newBuilder
(
BaseApplication
.
context
).
build
()
val
referrerClient
=
InstallReferrerClient
.
newBuilder
(
BaseApplication
.
context
).
build
()
referrerClient
.
startConnection
(
object
:
InstallReferrerStateListener
{
referrerClient
.
startConnection
(
object
:
InstallReferrerStateListener
{
override
fun
onInstallReferrerSetupFinished
(
responseCode
:
Int
)
{
override
fun
onInstallReferrerSetupFinished
(
responseCode
:
Int
)
{
LogEx
.
logDebug
(
TAG
,
"responseCode=$responseCode"
)
try
{
try
{
when
(
responseCode
)
{
when
(
responseCode
)
{
InstallReferrerClient
.
InstallReferrerResponse
.
OK
->
{
InstallReferrerClient
.
InstallReferrerResponse
.
OK
->
{
...
@@ -65,6 +66,7 @@ object InstallHelps {
...
@@ -65,6 +66,7 @@ object InstallHelps {
else
->
{
else
->
{
EventUtils
.
event
(
"install_referrer_error"
)
EventUtils
.
event
(
"install_referrer_error"
)
requestCfg
(
true
)
}
}
}
}
}
catch
(
_
:
Exception
)
{
}
catch
(
_
:
Exception
)
{
...
...
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