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
c502b1a8
Commit
c502b1a8
authored
4 years ago
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ベースシーンと通常のシーン登録失敗時、ベースシーン登録完了しても登録してエラー発生問題対応
ベースシーンを重複して登録時のエラーメッセージ表示
parent
b862a2ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivity.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/helper/SceneSendHelper.java
+5
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivity.java
View file @
c502b1a8
...
...
@@ -479,7 +479,7 @@ public class DeviceImageListActivity extends ABVUIActivity {
});
}
});
mSceneSendHelper
.
sendSceneImages
(
sendImages
,
mOperationId
,
mOperationName
,
mIsBaseSceneUpload
);
mSceneSendHelper
.
sendSceneImages
(
sendImages
,
mOperationId
,
mOperationName
,
mIsBaseSceneUpload
,
mIsBaseSceneUploadSuccess
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/helper/SceneSendHelper.java
View file @
c502b1a8
...
...
@@ -43,8 +43,9 @@ public class SceneSendHelper {
* @param operationId 作業ID
* @param OperationName 作業名
* @param isBaseSceneUpload ベースシーン登録フラグ(true:登録、false:登録しない)
* @param isBaseSceneUploadSuccess ベースシーン登録済みフラグ(true:登録済み、false:未登録)
*/
public
void
sendSceneImages
(
final
List
<
String
>
sendImages
,
final
Long
operationId
,
final
String
OperationName
,
final
boolean
isBaseSceneUpload
)
{
public
void
sendSceneImages
(
final
List
<
String
>
sendImages
,
final
Long
operationId
,
final
String
OperationName
,
final
boolean
isBaseSceneUpload
,
final
boolean
isBaseSceneUploadSuccess
)
{
CommonExecutor
.
execute
(
new
Runnable
()
{
@Override
public
void
run
()
{
...
...
@@ -53,7 +54,7 @@ public class SceneSendHelper {
for
(
String
filePath
:
sendImages
){
File
file
=
new
File
(
filePath
);
try
{
if
(
isBaseSceneUpload
&&
firstFilePath
.
equals
(
filePath
))
{
if
(
isBaseSceneUpload
&&
!
isBaseSceneUploadSuccess
&&
firstFilePath
.
equals
(
filePath
))
{
AbstractLogic
.
getLogic
(
OperationLogic
.
class
).
sendPanoContent
(
operationId
,
OperationName
,
file
);
}
else
{
AbstractLogic
.
getLogic
(
OperationLogic
.
class
).
sendScene
(
file
);
...
...
@@ -72,6 +73,8 @@ public class SceneSendHelper {
Logger
.
e
(
TAG
,
ex
.
toString
());
if
(
ex
.
getCode
()
==
ABVExceptionCode
.
P_E_ACMS_P007
)
{
listener
.
sceneSendFail
(
mContext
.
getString
(
R
.
string
.
error_msg_open_pano_edit
));
}
else
if
(
ex
.
getCode
()
==
ABVExceptionCode
.
P_E_ACMS_P002
)
{
listener
.
sceneSendFail
(
mContext
.
getString
(
R
.
string
.
P002
));
}
else
{
listener
.
sceneSendFailRetry
(
needSendImages
);
}
...
...
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