Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ else if (response.getResponseCode() >= 200 && response.getResponseCode() <= 299)
private void completeHandleUpload(boolean success) {
runOnUiThread(() -> {
String action = getIntent().getAction();
if (success && action.equals(DIMENSIONING_RESULT_INTENT_ACTION_GET_DIMENSION))
//if (success && action.equals(DIMENSIONING_RESULT_INTENT_ACTION_GET_DIMENSION))
//Return to calling app if launched with startActivityForResult
finish();
else if (success && !action.equals(Intent.ACTION_MAIN))
if (success && !action.equals(Intent.ACTION_MAIN))
// Return to calling app if launched by web browser Intent
moveTaskToBack(true);
else if (success && mIsDimensionServiceEnabled &&
Expand Down