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
ef6115ec
Commit
ef6115ec
authored
Aug 02, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
位置情報の権限チェック処理修正(ABookPermissionHelperのActivity→contextに変更)
parent
92c3e67d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
+4
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookPermissionHelper.java
+0
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
View file @
ef6115ec
...
...
@@ -2,6 +2,7 @@ package jp.agentec.abook.abv.cl.util;
import
jp.agentec.abook.abv.bl.acms.client.json.content.MediaInfoJSON
;
import
jp.agentec.abook.abv.bl.acms.client.json.content.PageObjectJSON
;
import
jp.agentec.abook.abv.bl.common.Constant
;
import
jp.agentec.abook.abv.bl.common.log.Logger
;
import
jp.agentec.abook.abv.bl.data.dao.AbstractDao
;
import
jp.agentec.abook.abv.bl.data.dao.ContentObjectLogDao
;
...
...
@@ -13,6 +14,7 @@ import jp.agentec.abook.abv.bl.logic.ContentReadingLogLogic;
import
jp.agentec.abook.abv.bl.logic.ContractLogic
;
import
jp.agentec.abook.abv.bl.websocket.MeetingManager
;
import
jp.agentec.abook.abv.launcher.android.R
;
import
jp.agentec.abook.abv.ui.home.helper.ABookPermissionHelper
;
import
jp.agentec.adf.util.DateTimeUtil
;
import
org.json.adf.JSONException
;
...
...
@@ -51,7 +53,8 @@ public class ContentLogUtil {
int
readingLogId
=
contentReadingLogLogic
.
startContentReadLog
(
contentId
);
// 位置情報取得許可、サービスオプション、ビルドオプションチェック
if
(
checkUsableReadinglogGps
(
contentId
))
{
//20190529 アプリ側の位置情報許可チェックはしない
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
context
,
Constant
.
ABookPermissionType
.
AccessFineLocation
,
null
);
if
(
helper
.
checkMultiPermissions
(
false
)
&&
checkUsableReadinglogGps
(
contentId
))
{
//20190529 アプリ側の位置情報許可チェックはしない
// 位置情報取得
locationManagerUtil
=
new
LocationManagerUtil
(
context
,
new
LocationManagerUtil
.
LocationManagerUtilListener
()
{
@Override
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ABookPermissionHelper.java
View file @
ef6115ec
This diff is collapsed.
Click to expand it.
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