Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fiveworld
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_fiveworld
Commits
9a49f5e3
Commit
9a49f5e3
authored
Nov 04, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
a7644057
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
build.gradle
app/build.gradle
+2
-2
HitChanceKeeper.kt
...java/com/mints/fiveworld/common/random/HitChanceKeeper.kt
+1
-1
No files found.
app/build.gradle
View file @
9a49f5e3
...
...
@@ -13,8 +13,8 @@ android {
applicationId
rootProject
.
APPLICATION_ID
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
202110
19
versionName
"1.1.
3
"
versionCode
202110
20
versionName
"1.1.
4
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
app/src/main/java/com/mints/fiveworld/common/random/HitChanceKeeper.kt
View file @
9a49f5e3
...
...
@@ -107,7 +107,7 @@ object HitChanceKeeper {
defaultChance
:
String
=
""
):
String
{
return
Constant
.
GROMORE_INSERTSCREEN_AD
//
return Constant.GROMORE_INSERTSCREEN_AD
if
(
weight
==
0
||
weightArr
==
null
||
weightArr
.
isEmpty
())
return
defaultChance
LogUtil
.
d
(
TAG
,
"-->>> 1、权重总值:${weight}"
)
...
...
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