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
5f2ecaec
Commit
5f2ecaec
authored
Aug 02, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
位置情報の権限チェック処理修正
parent
43cf251f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
+7
-3
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
View file @
5f2ecaec
...
@@ -53,9 +53,13 @@ public class ContentLogUtil {
...
@@ -53,9 +53,13 @@ public class ContentLogUtil {
int
readingLogId
=
contentReadingLogLogic
.
startContentReadLog
(
contentId
);
int
readingLogId
=
contentReadingLogLogic
.
startContentReadLog
(
contentId
);
// 位置情報取得許可、サービスオプション、ビルドオプションチェック
// 位置情報取得許可、サービスオプション、ビルドオプションチェック
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
context
,
Constant
.
ABookPermissionType
.
AccessFineLocation
,
null
);
if
(
checkUsableReadinglogGps
(
contentId
))
{
//20190529 アプリ側の位置情報許可チェックはしない
if
(
helper
.
checkMultiPermissions
(
false
)
&&
checkUsableReadinglogGps
(
contentId
))
{
//20190529 アプリ側の位置情報許可チェックはしない
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
context
,
Constant
.
ABookPermissionType
.
AccessFineLocation
,
null
);
// 位置情報取得
// 権限チェックして、falseの場合、以下の処理は行わない
if
(!
helper
.
checkMultiPermissions
(
false
))
{
return
readingLogId
;
}
// 位置情報取得
locationManagerUtil
=
new
LocationManagerUtil
(
context
,
new
LocationManagerUtil
.
LocationManagerUtilListener
()
{
locationManagerUtil
=
new
LocationManagerUtil
(
context
,
new
LocationManagerUtil
.
LocationManagerUtilListener
()
{
@Override
@Override
public
void
onGetLocationFailed
()
{
public
void
onGetLocationFailed
()
{
...
...
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