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
1570e861
Commit
1570e861
authored
Jun 14, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新logo
parent
53c18782
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
7 deletions
+23
-7
Constant.kt
video/app/src/main/java/com/mints/ypvedio/common/Constant.kt
+6
-3
VersionUtils.kt
...app/src/main/java/com/mints/ypvedio/utils/VersionUtils.kt
+13
-0
ic_launcher_main.png
video/app/src/main/res/mipmap-xhdpi/ic_launcher_main.png
+0
-0
ic_launcher_main.png
video/app/src/main/res/mipmap-xxhdpi/ic_launcher_main.png
+0
-0
gradle.properties
video/gradle.properties
+4
-4
No files found.
video/app/src/main/java/com/mints/ypvedio/common/Constant.kt
View file @
1570e861
package
com.mints.ypvedio.common
package
com.mints.ypvedio.common
import
com.mints.ypvedio.BuildConfig
import
com.mints.ypvedio.utils.VersionUtils
object
Constant
{
object
Constant
{
const
val
PAGE_SIZE
=
12
const
val
PAGE_SIZE
=
12
...
@@ -48,7 +51,7 @@ object Constant {
...
@@ -48,7 +51,7 @@ object Constant {
const
val
FRAGMENT_CLICK_FOUR
=
3
const
val
FRAGMENT_CLICK_FOUR
=
3
// 协议地址
// 协议地址
var
REGISTER_URL
=
"http://mints-web.mints-id.com/agreements/dayplaylet
/yhxy.html"
//注册协议
var
REGISTER_URL
=
BuildConfig
.
MainIp
+
"/agreements/${VersionUtils.getEndPkg()}
/yhxy.html"
//注册协议
var
PRIVACY_URL
=
"http://mints-web.mints-id.com/agreements/dayplaylet
/syzc.html"
//隐私协议
var
PRIVACY_URL
=
BuildConfig
.
MainIp
+
"/agreements/${VersionUtils.getEndPkg()}
/syzc.html"
//隐私协议
var
MEMBERS_URL
=
"https://mints-web.mints-id.com/agreements/dayplaylet
/gmxy.html"
//会员付费服务协议
var
MEMBERS_URL
=
BuildConfig
.
MainIp
+
"/agreements/${VersionUtils.getEndPkg()}
/gmxy.html"
//会员付费服务协议
}
}
\ No newline at end of file
video/app/src/main/java/com/mints/ypvedio/utils/VersionUtils.kt
View file @
1570e861
package
com.mints.ypvedio.utils
package
com.mints.ypvedio.utils
import
android.os.Build
import
android.os.Build
import
com.mints.ypvedio.common.Constant
object
VersionUtils
{
object
VersionUtils
{
...
@@ -48,4 +49,16 @@ object VersionUtils {
...
@@ -48,4 +49,16 @@ object VersionUtils {
fun
isAndroidQ
():
Boolean
{
fun
isAndroidQ
():
Boolean
{
return
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
Q
return
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
Q
}
}
fun
getEndPkg
():
String
{
var
endPkg
=
""
try
{
val
split
=
Constant
.
MINTS_PKG_NAME
.
split
(
"."
)
val
size
=
split
.
size
endPkg
=
split
[
size
-
1
]
}
catch
(
e
:
Exception
)
{
e
.
printStackTrace
()
}
return
endPkg
}
}
}
\ No newline at end of file
video/app/src/main/res/mipmap-xhdpi/ic_launcher_main.png
View replaced file @
53c18782
View file @
1570e861
7.1 KB
|
W:
|
H:
9.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
video/app/src/main/res/mipmap-xxhdpi/ic_launcher_main.png
View replaced file @
53c18782
View file @
1570e861
14 KB
|
W:
|
H:
14.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
video/gradle.properties
View file @
1570e861
...
@@ -26,10 +26,10 @@ android.nonTransitiveRClass=true
...
@@ -26,10 +26,10 @@ android.nonTransitiveRClass=true
DEBUG_URL
=
"https://api.mints-tech.cn/camera-api/"
DEBUG_URL
=
"https://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_KEY_PASSWORD
=
mints
dayplaylet
RELEASE_KEY_PASSWORD
=
mints
ypvedio
RELEASE_KEY_ALIAS
=
mints_
dayplaylet
RELEASE_KEY_ALIAS
=
mints_
ypvedio
RELEASE_STORE_PASSWORD
=
mints
dayplaylet
RELEASE_STORE_PASSWORD
=
mints
ypvedio
RELEASE_STORE_FILE
=
mints_
dayplaylet
.jks
RELEASE_STORE_FILE
=
mints_
ypvedio
.jks
#ShareSDK
#ShareSDK
RELEASE_SHARESDK_KEY
=
38af89ff44247
RELEASE_SHARESDK_KEY
=
38af89ff44247
...
...
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