Skip to content

Commit

Permalink
Remove session endpoint id extra
Browse files Browse the repository at this point in the history
  • Loading branch information
avazirna committed Aug 25, 2023
1 parent a5b0eea commit 576f9ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/org/commcare/activities/DispatchActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ private void handleExternalLaunch() {
i.putExtra(SESSION_ENDPOINT_ID, sessionEndpointId);
i.putExtra(SESSION_ENDPOINT_ARGUMENTS_BUNDLE, args);
i.putStringArrayListExtra(SESSION_ENDPOINT_ARGUMENTS_LIST, argsList);

// Session Endpoint extra is no longer needed. If not removed, it triggers
// the external launch logic in subsequent logins
getIntent().removeExtra(SESSION_ENDPOINT_ID);
}
if (i != null) {
i.putExtra(WAS_EXTERNAL, true);
Expand Down

0 comments on commit 576f9ec

Please sign in to comment.