Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
3d6b8f35
Commit
3d6b8f35
authored
Jan 04, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak
parent
fdedaac9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
+2
-2
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/mcchat/util/Util.java
.../java/cn/garymb/ygomobile/ui/mycard/mcchat/util/Util.java
+1
-1
mobile/src/main/res/layout/dialog_photo.xml
mobile/src/main/res/layout/dialog_photo.xml
+1
-1
No files found.
mobile/build.gradle
View file @
3d6b8f35
...
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
minSdkVersion
21
targetSdkVersion
28
versionCode
36010010
3
versionCode
36010010
4
versionName
"3.6.1"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
View file @
3d6b8f35
...
...
@@ -132,14 +132,14 @@ public class MainActivity extends HomeActivity {
dialog
.
setOnDismissListener
(
new
DialogInterface
.
OnDismissListener
()
{
@Override
public
void
onDismiss
(
DialogInterface
dialogInterface
)
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
Q
)
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
<
Build
.
VERSION_CODES
.
Q
)
PermissionUtil
.
isServicePermission
(
MainActivity
.
this
,
true
);
}
});
dialog
.
show
();
}
}
else
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
Q
)
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
<
Build
.
VERSION_CODES
.
Q
)
PermissionUtil
.
isServicePermission
(
MainActivity
.
this
,
true
);
getGameUriManager
().
doIntent
(
getIntent
());
}
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/mcchat/util/Util.java
View file @
3d6b8f35
...
...
@@ -34,7 +34,7 @@ public class Util {
}
public
static
void
startDuelService
(
Context
context
)
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
Q
)
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
()
&&
Build
.
VERSION
.
SDK_INT
<
Build
.
VERSION_CODES
.
Q
)
{
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
O
)
{
DialogPlus
dialogPlus
=
PermissionUtil
.
isNotificationPermission
(
context
);
if
(
dialogPlus
==
null
)
...
...
mobile/src/main/res/layout/dialog_photo.xml
View file @
3d6b8f35
...
...
@@ -2,5 +2,5 @@
android:id=
"@+id/photoView"
android:layout_width=
"421dp"
android:layout_height=
"614dp"
android:layout_gravity=
"center
_vertical
"
android:layout_gravity=
"center"
android:background=
"@color/tr_transparent_background"
/>
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