Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
Commits
15396f62
Commit
15396f62
authored
Nov 09, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix DuelAssiatant tip & disable DuelAssistant as default
parent
59fbbd99
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
+4
-3
mobile/src/main/java/cn/garymb/ygomobile/ui/preference/fragments/SettingFragment.java
...mb/ygomobile/ui/preference/fragments/SettingFragment.java
+1
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+2
-2
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+2
-2
No files found.
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
View file @
15396f62
...
...
@@ -31,7 +31,7 @@ public interface Constants {
String
PREF_SOUND_EFFECT
=
"pref_key_game_sound_effect"
;
boolean
PREF_DEF_SOUND_EFFECT
=
true
;
String
PREF_START_SERVICEDUELASSISTANT
=
"pref_key_start_serviceduelassistant"
;
boolean
PREF_DEF_START_SERVICEDUELASSISTANT
=
tru
e
;
boolean
PREF_DEF_START_SERVICEDUELASSISTANT
=
fals
e
;
String
PREF_LOCK_SCREEN
=
"pref_key_game_screen_orientation"
;
boolean
PREF_DEF_LOCK_SCREEN
=
false
;
String
PREF_IMMERSIVE_MODE
=
"pref_key_immersive_mode"
;
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
View file @
15396f62
...
...
@@ -138,13 +138,14 @@ public class MainActivity extends HomeActivity {
dialog
.
setOnDismissListener
(
new
DialogInterface
.
OnDismissListener
()
{
@Override
public
void
onDismiss
(
DialogInterface
dialogInterface
)
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
())
PermissionUtil
.
isServicePermission
(
MainActivity
.
this
,
true
);
}
});
dialog
.
show
();
}
}
else
{
if
(
AppsSettings
.
get
().
isServiceDuelAssistant
())
PermissionUtil
.
isServicePermission
(
MainActivity
.
this
,
true
);
getGameUriManager
().
doIntent
(
getIntent
());
}
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/preference/fragments/SettingFragment.java
View file @
15396f62
...
...
@@ -43,6 +43,7 @@ import cn.garymb.ygomobile.ui.preference.PreferenceFragmentPlus;
import
cn.garymb.ygomobile.utils.FileUtils
;
import
cn.garymb.ygomobile.utils.IOUtils
;
import
cn.garymb.ygomobile.utils.SystemUtils
;
import
cn.garymb.ygomobile.utils.PermissionUtil
;
import
ocgcore.ConfigManager
;
import
ocgcore.DataManager
;
...
...
mobile/src/main/res/values-zh/strings.xml
View file @
15396f62
...
...
@@ -217,8 +217,8 @@
\n之后快捷加房时就会加入置顶的服务器
\n使用此功能须开启本软件悬浮窗
\n并确保本软件后台运行中
</string>
<string
name=
"EXPAND_STATUS_BAR"
>
需要开启通知权限\n开启
通知权限才能正常使用
功能
</string>
<string
name=
"SYSTEM_ALERT_WINDOW"
>
需要开启悬浮窗权限\n开启
悬浮窗权限才能正常使用
功能
</string>
<string
name=
"EXPAND_STATUS_BAR"
>
需要开启通知权限\n开启
权限才能正常使用决斗助手
功能
</string>
<string
name=
"SYSTEM_ALERT_WINDOW"
>
需要开启悬浮窗权限\n开启
权限才能正常使用决斗助手
功能
</string>
<string
name=
"OpenTIP"
>
快捷加房使用方法
</string>
<string
name=
"Open_Alert_Window"
>
去打开悬浮窗
</string>
<string
name=
"Function_Menu"
>
功能菜单
</string>
...
...
mobile/src/main/res/values/strings.xml
View file @
15396f62
...
...
@@ -218,8 +218,8 @@
\nthen join helper will acquiescently start in it
\npls click to APP permission to find me and open the "Pop-ups"
\nand keep the soft run in the background
</string>
<string
name=
"EXPAND_STATUS_BAR"
>
Apply expand status bar\n then
sof
t will work normally
</string>
<string
name=
"SYSTEM_ALERT_WINDOW"
>
Apply Display over other APPs\n then
sof
t will work normally
</string>
<string
name=
"EXPAND_STATUS_BAR"
>
Apply expand status bar\n then
DuelAssiatan
t will work normally
</string>
<string
name=
"SYSTEM_ALERT_WINDOW"
>
Apply Display over other APPs\n then
DuelAssiatan
t will work normally
</string>
<string
name=
"OpenTIP"
>
about Quick Join in Game
</string>
<string
name=
"Open_Alert_Window"
>
To Open Pop-ups
</string>
<string
name=
"Function_Menu"
>
MENU
</string>
...
...
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