Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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
android
android_vedio
Commits
25e51219
Commit
25e51219
authored
Aug 17, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdk编译版本降低到30
parent
81c9697a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
19 deletions
+19
-19
build.gradle
video/alipay/build.gradle
+3
-3
UpdateService.java
.../java/com/duben/xixiplaylet/ui/service/UpdateService.java
+4
-4
build.gradle
video/build.gradle
+5
-5
gradle-wrapper.properties
video/gradle/wrapper/gradle-wrapper.properties
+1
-1
build.gradle
video/rxpay/build.gradle
+3
-3
build.gradle
video/wxpay/build.gradle
+3
-3
No files found.
video/alipay/build.gradle
View file @
25e51219
...
...
@@ -4,11 +4,11 @@ plugins {
}
android
{
compileSdk
31
compileSdk
Version
30
defaultConfig
{
minSdk
21
targetSdk
31
minSdk
Version
21
targetSdk
Version
30
versionCode
1
versionName
"1.0"
...
...
video/app/src/main/java/com/duben/xixiplaylet/ui/service/UpdateService.java
View file @
25e51219
...
...
@@ -97,11 +97,11 @@ public class UpdateService extends Service {
updateIntent
=
new
Intent
(
this
,
MainActivity
.
class
);
updateIntent
.
addFlags
(
Intent
.
FLAG_ACTIVITY_SINGLE_TOP
);
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
>=
android
.
os
.
Build
.
VERSION_CODES
.
S
)
{
pendingIntent
=
PendingIntent
.
getActivity
(
this
,
0
,
updateIntent
,
PendingIntent
.
FLAG_IMMUTABLE
);
}
else
{
//
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.S) {
//
pendingIntent = PendingIntent.getActivity(this, 0, updateIntent, PendingIntent.FLAG_IMMUTABLE);
//
} else {
pendingIntent
=
PendingIntent
.
getActivity
(
this
,
0
,
updateIntent
,
PendingIntent
.
FLAG_ONE_SHOT
);
}
//
}
mBuilder
.
setWhen
(
System
.
currentTimeMillis
())
// 通知产生的时间,会在通知信息里显示
.
setContentIntent
(
pendingIntent
)
...
...
video/build.gradle
View file @
25e51219
buildscript
{
ext
.
kotlin_version
=
'1.
6
.10'
ext
.
kotlin_version
=
'1.
5
.10'
repositories
{
google
()
...
...
@@ -23,7 +23,7 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:
7.1
.1'
classpath
'com.android.tools.build:gradle:
4.0
.1'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// sharesdk
classpath
"com.mob.sdk:MobSDK:2018.0319.1724"
...
...
@@ -58,8 +58,8 @@ task clean(type: Delete) {
}
ext
{
androidCompileSdkVersion
=
3
1
androidBuildToolsVersion
=
'3
1.0.0
'
androidCompileSdkVersion
=
3
0
androidBuildToolsVersion
=
'3
0.0.3
'
androidMinSdkVersion
=
21
androidTargetSdkVersion
=
3
1
androidTargetSdkVersion
=
3
0
}
\ No newline at end of file
video/gradle/wrapper/gradle-wrapper.properties
View file @
25e51219
#Tue Sep 06 16:35:22 CST 2022
distributionBase
=
GRADLE_USER_HOME
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
7.2
-bin.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
6.5
-bin.zip
distributionPath
=
wrapper/dists
zipStorePath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
video/rxpay/build.gradle
View file @
25e51219
...
...
@@ -4,11 +4,11 @@ plugins {
}
android
{
compileSdk
31
compileSdk
Version
30
defaultConfig
{
minSdk
21
targetSdk
31
minSdk
Version
21
targetSdk
Version
30
versionCode
1
versionName
"1.0"
...
...
video/wxpay/build.gradle
View file @
25e51219
...
...
@@ -4,11 +4,11 @@ plugins {
}
android
{
compileSdk
31
compileSdk
Version
30
defaultConfig
{
minSdk
21
targetSdk
31
minSdk
Version
21
targetSdk
Version
30
versionCode
1
versionName
"1.0"
...
...
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