Skip to content

Commit 26e0e57

Browse files
committed
refactor: simplify intent state check in Branch class
1 parent 3ae3ebb commit 26e0e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/src/main/java/io/branch/referral/Branch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ private void initTasks(ServerRequest request) {
12951295
BranchLogger.v("initTasks " + request);
12961296
// Single top activities can be launched from stack and there may be a new intent provided with onNewIntent() call.
12971297
// In this case need to wait till onResume to get the latest intent.
1298-
if (intentState_ != INTENT_STATE.READY && false) {
1298+
if (false) {
12991299
request.addProcessWaitLock(ServerRequest.PROCESS_WAIT_LOCK.INTENT_PENDING_WAIT_LOCK);
13001300
BranchLogger.v("Added INTENT_PENDING_WAIT_LOCK");
13011301
}

0 commit comments

Comments
 (0)