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
de23152b
Commit
de23152b
authored
Nov 30, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除不使用传参
parent
848ce904
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
39 deletions
+19
-39
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
+0
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
...java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
+19
-29
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
+0
-9
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
View file @
de23152b
...
@@ -716,7 +716,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
...
@@ -716,7 +716,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
duelAssistantManagement
=
DuelAssistantManagement
.
getInstance
();
duelAssistantManagement
=
DuelAssistantManagement
.
getInstance
();
duelAssistantManagement
.
init
(
getActivity
());
duelAssistantManagement
.
init
(
getActivity
());
duelAssistantManagement
.
addDuelAssistantListener
(
this
);
duelAssistantManagement
.
addDuelAssistantListener
(
this
);
// YGOUtil.startDuelService(this);
}
}
@Override
@Override
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
View file @
de23152b
...
@@ -131,7 +131,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -131,7 +131,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
addPreferencesFromResource
(
R
.
xml
.
preference_game
);
addPreferencesFromResource
(
R
.
xml
.
preference_game
);
bind
(
PREF_GAME_PATH
,
mSettings
.
getResourcePath
());
bind
(
PREF_GAME_PATH
,
mSettings
.
getResourcePath
());
// bind(PREF_GAME_VERSION, mSettings.getVersionString(mSettings.getGameVersion()));
// bind(PREF_GAME_VERSION, mSettings.getVersionString(mSettings.getGameVersion()));
bind
(
PREF_CHANGE_LOG
,
SystemUtils
.
getVersionName
(
get
Activity
())
+
"("
+
SystemUtils
.
getVersion
(
getActivity
())
+
")"
);
bind
(
PREF_CHANGE_LOG
,
SystemUtils
.
getVersionName
(
get
Context
())
+
"("
+
SystemUtils
.
getVersion
(
getContext
())
+
")"
);
bind
(
PREF_CHECK_UPDATE
,
getString
(
R
.
string
.
settings_about_author_pref
)
+
" : "
+
getString
(
R
.
string
.
settings_author
));
bind
(
PREF_CHECK_UPDATE
,
getString
(
R
.
string
.
settings_about_author_pref
)
+
" : "
+
getString
(
R
.
string
.
settings_author
));
bind
(
PREF_RESET_GAME_RES
,
getString
(
R
.
string
.
guide_reset
));
bind
(
PREF_RESET_GAME_RES
,
getString
(
R
.
string
.
guide_reset
));
bind
(
PREF_JOIN_QQ
,
getString
(
R
.
string
.
about_Join_QQ
));
bind
(
PREF_JOIN_QQ
,
getString
(
R
.
string
.
about_Join_QQ
));
...
@@ -271,7 +271,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -271,7 +271,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
arrangeCodeList
(
Cache_pre_release_code
);
//转换成两个数组
arrangeCodeList
(
Cache_pre_release_code
);
//转换成两个数组
}
}
if
(
Version
.
compareTo
(
BuildConfig
.
VERSION_NAME
)
>
0
&&
!
TextUtils
.
isEmpty
(
Version
)
&&
!
TextUtils
.
isEmpty
(
Cache_link
))
{
if
(
Version
.
compareTo
(
BuildConfig
.
VERSION_NAME
)
>
0
&&
!
TextUtils
.
isEmpty
(
Version
)
&&
!
TextUtils
.
isEmpty
(
Cache_link
))
{
DialogPlus
dialog
=
new
DialogPlus
(
get
Activity
());
DialogPlus
dialog
=
new
DialogPlus
(
get
Context
());
dialog
.
setMessage
(
R
.
string
.
Found_Update
);
dialog
.
setMessage
(
R
.
string
.
Found_Update
);
dialog
.
setLeftButtonText
(
R
.
string
.
download_home
);
dialog
.
setLeftButtonText
(
R
.
string
.
download_home
);
dialog
.
setLeftButtonListener
((
dlg
,
s
)
->
{
dialog
.
setLeftButtonListener
((
dlg
,
s
)
->
{
...
@@ -305,7 +305,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -305,7 +305,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
public
boolean
onPreferenceClick
(
Preference
preference
)
{
public
boolean
onPreferenceClick
(
Preference
preference
)
{
String
key
=
preference
.
getKey
();
String
key
=
preference
.
getKey
();
if
(
PREF_CHANGE_LOG
.
equals
(
key
))
{
if
(
PREF_CHANGE_LOG
.
equals
(
key
))
{
new
DialogPlus
(
get
Activity
())
new
DialogPlus
(
get
Context
())
.
setTitleText
(
getString
(
R
.
string
.
settings_about_change_log
))
.
setTitleText
(
getString
(
R
.
string
.
settings_about_change_log
))
.
loadUrl
(
"file:///android_asset/changelog.html"
,
Color
.
TRANSPARENT
)
.
loadUrl
(
"file:///android_asset/changelog.html"
,
Color
.
TRANSPARENT
)
.
show
();
.
show
();
...
@@ -387,13 +387,13 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -387,13 +387,13 @@ public class SettingFragment extends PreferenceFragmentPlus {
avatar1
.
setOnClickListener
((
v
)
->
{
avatar1
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_AVATAR_ME
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_AVATAR_ME
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
settings_game_avatar
),
outFile
,
true
,
CORE_SKIN_AVATAR_SIZE
[
0
],
CORE_SKIN_AVATAR_SIZE
[
1
]);
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_AVATAR_SIZE
[
0
],
CORE_SKIN_AVATAR_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
avatar2
.
setOnClickListener
((
v
)
->
{
avatar2
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_AVATAR_OPPONENT
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_AVATAR_OPPONENT
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
settings_game_avatar
),
outFile
,
true
,
CORE_SKIN_AVATAR_SIZE
[
0
],
CORE_SKIN_AVATAR_SIZE
[
1
]);
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_AVATAR_SIZE
[
0
],
CORE_SKIN_AVATAR_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
}
else
if
(
SETTINGS_COVER
.
equals
(
key
))
{
}
else
if
(
SETTINGS_COVER
.
equals
(
key
))
{
...
@@ -410,17 +410,13 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -410,17 +410,13 @@ public class SettingFragment extends PreferenceFragmentPlus {
cover1
.
setOnClickListener
((
v
)
->
{
cover1
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_COVER
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_COVER
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
card_cover
),
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_CARD_COVER_SIZE
[
0
],
CORE_SKIN_CARD_COVER_SIZE
[
1
]);
outFile
,
true
,
CORE_SKIN_CARD_COVER_SIZE
[
0
],
CORE_SKIN_CARD_COVER_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
cover2
.
setOnClickListener
((
v
)
->
{
cover2
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_COVER2
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_COVER2
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
card_cover
),
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_CARD_COVER_SIZE
[
0
],
CORE_SKIN_CARD_COVER_SIZE
[
1
]);
outFile
,
true
,
CORE_SKIN_CARD_COVER_SIZE
[
0
],
CORE_SKIN_CARD_COVER_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
}
else
if
(
SETTINGS_CARD_BG
.
equals
(
key
))
{
}
else
if
(
SETTINGS_CARD_BG
.
equals
(
key
))
{
...
@@ -439,25 +435,20 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -439,25 +435,20 @@ public class SettingFragment extends PreferenceFragmentPlus {
bg
.
setOnClickListener
((
v
)
->
{
bg
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
bg
),
showImageDialog
(
preference
,
outFile
,
outFile
,
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
bg_menu
.
setOnClickListener
((
v
)
->
{
bg_menu
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG_MENU
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG_MENU
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
bg_menu
),
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
outFile
,
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
bg_deck
.
setOnClickListener
((
v
)
->
{
bg_deck
.
setOnClickListener
((
v
)
->
{
//打开系统文件相册
//打开系统文件相册
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG_DECK
).
getAbsolutePath
();
String
outFile
=
new
File
(
mSettings
.
getCoreSkinPath
(),
Constants
.
CORE_SKIN_BG_DECK
).
getAbsolutePath
();
showImageDialog
(
preference
,
getString
(
R
.
string
.
bg_deck
),
showImageDialog
(
preference
,
outFile
,
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
outFile
,
true
,
CORE_SKIN_BG_SIZE
[
0
],
CORE_SKIN_BG_SIZE
[
1
]);
dialog
.
dismiss
();
dialog
.
dismiss
();
});
});
}
else
if
(
PREF_USE_EXTRA_CARD_CARDS
.
equals
(
key
))
{
}
else
if
(
PREF_USE_EXTRA_CARD_CARDS
.
equals
(
key
))
{
...
@@ -501,7 +492,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -501,7 +492,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
}
else
if
(
PREF_GAME_PATH
.
equalsIgnoreCase
(
preference
.
getKey
()))
{
}
else
if
(
PREF_GAME_PATH
.
equalsIgnoreCase
(
preference
.
getKey
()))
{
if
(!
TextUtils
.
equals
(
mSettings
.
getResourcePath
(),
file
))
{
if
(!
TextUtils
.
equals
(
mSettings
.
getResourcePath
(),
file
))
{
// Toast.makeText(getActivity(), R.string.restart_app, Toast.LENGTH_SHORT).show();
// Toast.makeText(getActivity(), R.string.restart_app, Toast.LENGTH_SHORT).show();
startActivity
(
new
Intent
(
get
Activity
(),
MainActivity
.
class
).
setAction
(
ACTION_RELOAD
));
startActivity
(
new
Intent
(
get
Context
(),
MainActivity
.
class
).
setAction
(
ACTION_RELOAD
));
getActivity
().
finish
();
getActivity
().
finish
();
}
}
mSettings
.
setResourcePath
(
file
);
mSettings
.
setResourcePath
(
file
);
...
@@ -516,10 +507,9 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -516,10 +507,9 @@ public class SettingFragment extends PreferenceFragmentPlus {
}
}
}
}
private
void
showImageDialog
(
Preference
preference
,
String
title
,
String
outFile
,
boolean
isJpeg
,
int
outWidth
,
int
outHeight
)
{
private
void
showImageDialog
(
Preference
preference
,
String
outFile
,
boolean
isJpeg
,
int
outWidth
,
int
outHeight
)
{
int
width
=
getResources
().
getDisplayMetrics
().
widthPixels
;
final
ImageView
imageView
=
new
ImageView
(
getContext
());
final
ImageView
imageView
=
new
ImageView
(
getActivity
());
FrameLayout
frameLayout
=
new
FrameLayout
(
getContext
());
FrameLayout
frameLayout
=
new
FrameLayout
(
getActivity
());
imageView
.
setScaleType
(
ImageView
.
ScaleType
.
FIT_CENTER
);
imageView
.
setScaleType
(
ImageView
.
ScaleType
.
FIT_CENTER
);
FrameLayout
.
LayoutParams
layoutParams
=
new
FrameLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
,
FrameLayout
.
LayoutParams
layoutParams
=
new
FrameLayout
.
LayoutParams
(
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
,
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
);
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
);
...
@@ -528,7 +518,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -528,7 +518,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
showImageCropChooser
(
preference
,
getString
(
R
.
string
.
dialog_select_image
),
outFile
,
isJpeg
,
outWidth
,
outHeight
);
showImageCropChooser
(
preference
,
getString
(
R
.
string
.
dialog_select_image
),
outFile
,
isJpeg
,
outWidth
,
outHeight
);
File
img
=
new
File
(
outFile
);
File
img
=
new
File
(
outFile
);
if
(
img
.
exists
())
{
if
(
img
.
exists
())
{
GlideCompat
.
with
(
this
).
load
(
img
).
signature
(
new
MediaStoreSignature
(
"image/*"
,
img
.
lastModified
(),
0
))
GlideCompat
.
with
(
getContext
()
).
load
(
img
).
signature
(
new
MediaStoreSignature
(
"image/*"
,
img
.
lastModified
(),
0
))
.
diskCacheStrategy
(
DiskCacheStrategy
.
NONE
)
.
diskCacheStrategy
(
DiskCacheStrategy
.
NONE
)
.
override
(
outWidth
,
outHeight
)
.
override
(
outWidth
,
outHeight
)
.
into
(
imageView
);
.
into
(
imageView
);
...
@@ -538,7 +528,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -538,7 +528,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
public
void
setImage
(
String
outFile
,
int
outWidth
,
int
outHeight
,
ImageView
imageView
)
{
public
void
setImage
(
String
outFile
,
int
outWidth
,
int
outHeight
,
ImageView
imageView
)
{
File
img
=
new
File
(
outFile
);
File
img
=
new
File
(
outFile
);
if
(
img
.
exists
())
{
if
(
img
.
exists
())
{
GlideCompat
.
with
(
this
).
load
(
img
).
signature
(
new
MediaStoreSignature
(
"image/*"
,
img
.
lastModified
(),
0
))
GlideCompat
.
with
(
getContext
()
).
load
(
img
).
signature
(
new
MediaStoreSignature
(
"image/*"
,
img
.
lastModified
(),
0
))
.
diskCacheStrategy
(
DiskCacheStrategy
.
NONE
)
.
diskCacheStrategy
(
DiskCacheStrategy
.
NONE
)
.
override
(
outWidth
,
outHeight
)
.
override
(
outWidth
,
outHeight
)
.
into
(
imageView
);
.
into
(
imageView
);
...
@@ -547,7 +537,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -547,7 +537,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
private
void
copyDataBase
(
Preference
preference
,
String
file
)
{
private
void
copyDataBase
(
Preference
preference
,
String
file
)
{
CheckBoxPreference
checkBoxPreference
=
(
CheckBoxPreference
)
preference
;
CheckBoxPreference
checkBoxPreference
=
(
CheckBoxPreference
)
preference
;
Dialog
dlg
=
DialogPlus
.
show
(
get
Activity
(),
null
,
getString
(
R
.
string
.
copy_databse
));
Dialog
dlg
=
DialogPlus
.
show
(
get
Context
(),
null
,
getString
(
R
.
string
.
copy_databse
));
VUiKit
.
defer
().
when
(()
->
{
VUiKit
.
defer
().
when
(()
->
{
File
db
=
new
File
(
mSettings
.
getResourcePath
(),
Constants
.
DATABASE_NAME
);
File
db
=
new
File
(
mSettings
.
getResourcePath
(),
Constants
.
DATABASE_NAME
);
InputStream
in
=
null
;
InputStream
in
=
null
;
...
@@ -588,11 +578,11 @@ public class SettingFragment extends PreferenceFragmentPlus {
...
@@ -588,11 +578,11 @@ public class SettingFragment extends PreferenceFragmentPlus {
File
dir
=
new
File
(
mSettings
.
getResourcePath
(),
Constants
.
CORE_SKIN_PENDULUM_PATH
);
File
dir
=
new
File
(
mSettings
.
getResourcePath
(),
Constants
.
CORE_SKIN_PENDULUM_PATH
);
if
(
ok
)
{
if
(
ok
)
{
//rename
//rename
Dialog
dlg
=
DialogPlus
.
show
(
get
Activity
(),
null
,
getString
(
R
.
string
.
coping_pendulum_image
));
Dialog
dlg
=
DialogPlus
.
show
(
get
Context
(),
null
,
getString
(
R
.
string
.
coping_pendulum_image
));
VUiKit
.
defer
().
when
(()
->
{
VUiKit
.
defer
().
when
(()
->
{
try
{
try
{
IOUtils
.
createFolder
(
dir
);
IOUtils
.
createFolder
(
dir
);
IOUtils
.
copyFilesFromAssets
(
get
Activity
(),
getDatapath
(
Constants
.
CORE_SKIN_PENDULUM_PATH
),
IOUtils
.
copyFilesFromAssets
(
get
Context
(),
getDatapath
(
Constants
.
CORE_SKIN_PENDULUM_PATH
),
dir
.
getAbsolutePath
(),
false
);
dir
.
getAbsolutePath
(),
false
);
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
}
}
...
...
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
View file @
de23152b
...
@@ -154,15 +154,6 @@ public class YGOUtil {
...
@@ -154,15 +154,6 @@ public class YGOUtil {
return
visibleItemCount
>
0
&&
lastVisibleItemPosition
>=
totalItemCount
-
3
&&
state
==
RecyclerView
.
SCROLL_STATE_IDLE
;
return
visibleItemCount
>
0
&&
lastVisibleItemPosition
>=
totalItemCount
-
3
&&
state
==
RecyclerView
.
SCROLL_STATE_IDLE
;
}
}
public
static
void
startDuelService
(
Context
context
)
{
// if (AppsSettings.get().isServiceDuelAssistant()) {
// if (!Util.startDuelService(context)) {
// getNotificationPermissionDialog(context).show();
// }
// }
}
//判断是否有悬浮窗权限
//判断是否有悬浮窗权限
public
static
boolean
isServicePermission
(
Context
context
,
boolean
isIntentPermission
)
{
public
static
boolean
isServicePermission
(
Context
context
,
boolean
isIntentPermission
)
{
if
(!
PermissionUtil
.
isServicePermission
(
context
))
{
if
(!
PermissionUtil
.
isServicePermission
(
context
))
{
...
...
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