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
60f014c2
Commit
60f014c2
authored
May 29, 2019
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #33838 【SATO Android 1.0.0】位置情報がログに反映されない
parent
9b46c888
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
+2
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVAuthenticatedActivity.java
+9
-7
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/cl/util/ContentLogUtil.java
View file @
60f014c2
...
...
@@ -51,12 +51,13 @@ public class ContentLogUtil {
int
readingLogId
=
contentReadingLogLogic
.
startContentReadLog
(
contentId
);
// 位置情報取得許可、サービスオプション、ビルドオプションチェック
if
(
permissionAccessLocation
&&
checkUsableReadinglogGps
(
contentId
))
{
if
(
checkUsableReadinglogGps
(
contentId
))
{
//20190529 アプリ側の位置情報許可チェックはしない
// 位置情報取得
locationManagerUtil
=
new
LocationManagerUtil
(
context
,
new
LocationManagerUtil
.
LocationManagerUtilListener
()
{
@Override
public
void
onGetLocationFailed
()
{
// 取得に失敗した場合、何もしない
Logger
.
e
(
"**********onGetLocationFailed"
);
}
@Override
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVAuthenticatedActivity.java
View file @
60f014c2
...
...
@@ -313,13 +313,15 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
}
private
void
contentViewActivityMoveWithAccessLocationAlert
(
final
Intent
intent
,
final
long
contentId
,
final
NaviConsts
ABVNavi
)
{
if
(!
getABVUIDataCache
().
isShowedPermissionAccessLocationAlert
()
&&
(
AbstractLogic
.
getLogic
(
ContractLogic
.
class
).
getUsableReadinglogGps
()))
{
// 位置情報取得許可アラートを一度も表示していない場合表示する
putUserPref
(
UserPrefKey
.
SHOWED_PERMISSION_ACCESS_LOCATION_ALERT
,
true
);
showPermissionAccessLocationAlert
(
intent
,
contentId
,
ABVNavi
);
}
else
{
contentViewActivityMove
(
intent
,
contentId
,
ABVNavi
);
}
contentViewActivityMove
(
intent
,
contentId
,
ABVNavi
);
//位置情報のアプリ内の許可しないように修正
// if (!getABVUIDataCache().isShowedPermissionAccessLocationAlert() && ( AbstractLogic.getLogic(ContractLogic.class).getUsableReadinglogGps())) {
// // 位置情報取得許可アラートを一度も表示していない場合表示する
// putUserPref(UserPrefKey.SHOWED_PERMISSION_ACCESS_LOCATION_ALERT, true);
// showPermissionAccessLocationAlert(intent, contentId, ABVNavi);
// } else {
// contentViewActivityMove(intent, contentId, ABVNavi);
// }
}
private
void
showPermissionAccessLocationAlert
(
final
Intent
intent
,
final
long
contentId
,
final
NaviConsts
ABVNavi
)
{
...
...
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