Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
99dde9d3
Commit
99dde9d3
authored
Sep 18, 2024
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
誤文字の修正
parent
50550a06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVSplashActivity.java
+2
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookPermissionHelper.java
+2
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVSplashActivity.java
View file @
99dde9d3
...
...
@@ -56,9 +56,9 @@ public abstract class ABVSplashActivity extends ABVNoAuthenticatedActivity {
@Override
protected
void
onResume
()
{
super
.
onResume
();
boolean
che
kc
Flg
=
PreferenceUtil
.
getUserPref
(
this
,
AppDefType
.
UserPrefKey
.
ALL_PERMISSION_CHECK
,
true
);
boolean
che
ck
Flg
=
PreferenceUtil
.
getUserPref
(
this
,
AppDefType
.
UserPrefKey
.
ALL_PERMISSION_CHECK
,
true
);
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
this
);
if
(
che
kc
Flg
)
{
if
(
che
ck
Flg
)
{
PreferenceUtil
.
putUserPref
(
this
,
AppDefType
.
UserPrefKey
.
ALL_PERMISSION_CHECK
,
false
);
mPermissionArray
=
helper
.
checkMultiPermissions
();
}
else
{
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookPermissionHelper.java
View file @
99dde9d3
...
...
@@ -52,8 +52,8 @@ public class ABookPermissionHelper {
public
ArrayList
<
String
>
checkAndroidVersionUpPermissions
()
{
ArrayList
<
String
>
reqPermissions
=
new
ArrayList
<>();
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
TIRAMISU
)
{
//Android13以上
boolean
che
kc
PermissionFlg
=
PreferenceUtil
.
getUserPref
(
mContext
,
AppDefType
.
UserPrefKey
.
ANDROID_13_PERMISSION_CHECK
,
true
);
if
(
che
kc
PermissionFlg
)
{
boolean
che
ck
PermissionFlg
=
PreferenceUtil
.
getUserPref
(
mContext
,
AppDefType
.
UserPrefKey
.
ANDROID_13_PERMISSION_CHECK
,
true
);
if
(
che
ck
PermissionFlg
)
{
if
(
ContextCompat
.
checkSelfPermission
(
mContext
,
android
.
Manifest
.
permission
.
READ_MEDIA_VIDEO
)
!=
PackageManager
.
PERMISSION_GRANTED
)
{
reqPermissions
.
add
(
android
.
Manifest
.
permission
.
READ_MEDIA_VIDEO
);
...
...
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