Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
F
File Recovery RecycleBin
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
File Recovery RecycleBin
Commits
e97afff6
Commit
e97afff6
authored
Aug 21, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
3657156e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
Splash2Activity.kt
...filerecoveryrecyclebin/activity/splash/Splash2Activity.kt
+12
-11
No files found.
app/src/main/java/com/base/filerecoveryrecyclebin/activity/splash/Splash2Activity.kt
View file @
e97afff6
...
@@ -34,14 +34,13 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
...
@@ -34,14 +34,13 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
}
}
override
fun
onKeyDown
(
keyCode
:
Int
,
event
:
KeyEvent
?):
Boolean
{
override
fun
onKeyDown
(
keyCode
:
Int
,
event
:
KeyEvent
?):
Boolean
{
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
EventUtils
.
event
(
"back"
)
EventUtils
.
event
(
"back"
)
}
}
return
super
.
onKeyDown
(
keyCode
,
event
)
return
super
.
onKeyDown
(
keyCode
,
event
)
}
}
override
val
binding
:
ActivitySplashBinding
by
lazy
{
override
val
binding
:
ActivitySplashBinding
by
lazy
{
ActivitySplashBinding
.
inflate
(
layoutInflater
)
ActivitySplashBinding
.
inflate
(
layoutInflater
)
}
}
...
@@ -71,6 +70,7 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
...
@@ -71,6 +70,7 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
}
}
}
}
private
fun
closeNotification
()
{
private
fun
closeNotification
()
{
sendBroadcast
(
Intent
(
this
,
CloseNotificationReceiver
::
class
.
java
).
apply
{
sendBroadcast
(
Intent
(
this
,
CloseNotificationReceiver
::
class
.
java
).
apply
{
this
.
action
=
CloseNotificationReceiver
.
Action
this
.
action
=
CloseNotificationReceiver
.
Action
...
@@ -79,6 +79,7 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
...
@@ -79,6 +79,7 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
}
}
override
fun
onAgreePrivacy
()
{
override
fun
onAgreePrivacy
()
{
EventUtils
.
event
(
"app_start"
)
if
(
jumpType
==
0
)
{
if
(
jumpType
==
0
)
{
startStayNotification
()
startStayNotification
()
}
}
...
@@ -105,15 +106,15 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
...
@@ -105,15 +106,15 @@ class Splash2Activity : BaseActivity<ActivitySplashBinding>(),
// AdmobMaxHelper.admobMaxShowOpenAd(this){
// AdmobMaxHelper.admobMaxShowOpenAd(this){
//
//
// }
// }
AdmobMaxHelper
.
admobMaxShowOpenAd
(
this
,
{
AdmobMaxHelper
.
admobMaxShowOpenAd
(
this
,
{
mTaskManager
?.
pauseProgress
()
mTaskManager
?.
pauseProgress
()
},
{
},
{
mTaskManager
?.
pauseProgress
()
mTaskManager
?.
pauseProgress
()
runOnUiThread
{
runOnUiThread
{
mTaskManager
?.
maxProgress
()
mTaskManager
?.
maxProgress
()
}
}
})
})
}
}
override
fun
onNewIntent
(
intent
:
Intent
)
{
override
fun
onNewIntent
(
intent
:
Intent
)
{
...
...
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