Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
swiftcleanerphonehelper
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
swiftcleanerphonehelper
Commits
530276ee
Commit
530276ee
authored
Dec 20, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
b196647f
Pipeline
#1416
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Global.java
.../main/java/com/swiftcleaner/chovey/model/bean/Global.java
+1
-0
StartActivity.java
.../com/swiftcleaner/chovey/view/activity/StartActivity.java
+3
-1
No files found.
app/src/main/java/com/swiftcleaner/chovey/model/bean/Global.java
View file @
530276ee
...
@@ -19,6 +19,7 @@ public class Global {
...
@@ -19,6 +19,7 @@ public class Global {
//配置
//配置
public
static
String
OpenLoadTime
=
"OpenLoadTime"
;
public
static
String
NotificationStayStatus
=
"NotificationStayStatus"
;
//int
public
static
String
NotificationStayStatus
=
"NotificationStayStatus"
;
//int
public
static
String
NotificationStayCount
=
"NotificationStayCount"
;
//int
public
static
String
NotificationStayCount
=
"NotificationStayCount"
;
//int
public
static
String
NotificationStayDelay
=
"NotificationStayDelay"
;
//int
public
static
String
NotificationStayDelay
=
"NotificationStayDelay"
;
//int
...
...
app/src/main/java/com/swiftcleaner/chovey/view/activity/StartActivity.java
View file @
530276ee
...
@@ -8,6 +8,7 @@ import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE;
...
@@ -8,6 +8,7 @@ import static com.swiftcleaner.chovey.model.bean.Global.FUNCTION_LARGE_FILE;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_SCREENSHOT
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_SCREENSHOT
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_SIMILAR_PHOTOS
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_SIMILAR_PHOTOS
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_WHATS_APP
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
FUNCTION_WHATS_APP
;
import
static
com
.
swiftcleaner
.
chovey
.
model
.
bean
.
Global
.
OpenLoadTime
;
import
androidx.activity.result.ActivityResultLauncher
;
import
androidx.activity.result.ActivityResultLauncher
;
import
androidx.activity.result.contract.ActivityResultContracts
;
import
androidx.activity.result.contract.ActivityResultContracts
;
...
@@ -36,6 +37,7 @@ import com.zxdemo.http.ZxHttp;
...
@@ -36,6 +37,7 @@ import com.zxdemo.http.ZxHttp;
import
com.zxdemo.service.PermanentNotifyService
;
import
com.zxdemo.service.PermanentNotifyService
;
import
com.zxdemo.utils.ActivityLauncher
;
import
com.zxdemo.utils.ActivityLauncher
;
import
com.zxdemo.utils.NonBlockingCountdown
;
import
com.zxdemo.utils.NonBlockingCountdown
;
import
com.zxdemo.utils.SpUtils
;
import
java.util.Objects
;
import
java.util.Objects
;
import
java.util.concurrent.atomic.AtomicBoolean
;
import
java.util.concurrent.atomic.AtomicBoolean
;
...
@@ -49,7 +51,7 @@ public class StartActivity extends AppCompatActivity {
...
@@ -49,7 +51,7 @@ public class StartActivity extends AppCompatActivity {
private
ActivityResultLauncher
<
Intent
>
notificationSettingsLauncher
;
private
ActivityResultLauncher
<
Intent
>
notificationSettingsLauncher
;
private
boolean
adShowing
=
false
;
private
boolean
adShowing
=
false
;
private
NonBlockingCountdown
nonBlockingCountdown
=
new
NonBlockingCountdown
(
this
::
jumpNext
);
private
NonBlockingCountdown
nonBlockingCountdown
=
new
NonBlockingCountdown
(
this
::
jumpNext
);
private
int
outJumpTime
=
15
;
private
int
outJumpTime
=
SpUtils
.
Companion
.
getInstance
().
getInt
(
OpenLoadTime
,
15
)
;
public
AtomicBoolean
jumped
=
new
AtomicBoolean
(
false
);
public
AtomicBoolean
jumped
=
new
AtomicBoolean
(
false
);
private
ActivityLauncher
launcher
;
private
ActivityLauncher
launcher
;
...
...
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