Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hadalive
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yichen
hadalive
Commits
e1734fea
Commit
e1734fea
authored
Jun 24, 2022
by
yichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、更改渠道问题
parent
1a8e776e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
build.gradle
app/build.gradle
+11
-0
VersionControl.kt
.../main/java/com/hupu/tv/player/app/utils/VersionControl.kt
+2
-1
No files found.
app/build.gradle
View file @
e1734fea
...
...
@@ -59,6 +59,17 @@ android {
myAppNamePY
:
"${myAppNamePY}"
,
UMENG_CHANNEL_VALUE:
"qj_02"
]
}
qj_meizu
{
def
myAppName
=
"球聚体育"
def
myAppNamePY
=
"qiujutiyu"
manifestPlaceholders
=
[
myAppName
:
"${myAppName}"
,
myAppNamePY
:
"${myAppNamePY}"
,
API_CHANNEL_ID
:
"12"
,
UMENG_CHANNEL_VALUE:
"qj_meizu"
]
}
qj_mubao
{
def
myAppName
=
"球聚体育"
def
myAppNamePY
=
"qiujutiyu"
...
...
app/src/main/java/com/hupu/tv/player/app/utils/VersionControl.kt
View file @
e1734fea
...
...
@@ -21,6 +21,7 @@ object VersionControl {
private
const
val
VIVO
=
"qj_vivo_01"
private
const
val
HUAWEI
=
"qj_huawei_01"
private
const
val
OPPO
=
"qj_oppo_01"
private
const
val
MEIZU
=
"qj_meizu"
const
val
YINGYONGBAO
=
"qj_yingyongbao"
...
...
@@ -34,7 +35,7 @@ object VersionControl {
fun
saveConfig
(
showConfig
:
Boolean
)
{
when
(
BuildConfig
.
FLAVOR
)
{
BAIDU
,
VIVO
,
HUAWEI
,
OPPO
,
OFFICIAL_1001
,
OFFICIAL_1002
,
OFFICIAL_1003
->
SPUtil
.
put
(
MEIZU
,
BAIDU
,
VIVO
,
HUAWEI
,
OPPO
,
OFFICIAL_1001
,
OFFICIAL_1002
,
OFFICIAL_1003
->
SPUtil
.
put
(
Constants
.
SHOW_LIVE_CONFIG
,
showConfig
)
...
...
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