Skip to content

Commit 7b6d39f

Browse files
committed
eliminate comments and references to the processNextQueueItem method in Branch and BranchRequestQueueTest classes.
1 parent 90452c2 commit 7b6d39f

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Branch-SDK/src/androidTest/java/io/branch/referral/BranchRequestQueueTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class BranchRequestQueueTest : BranchTest() {
6565

6666
// Test that compatibility methods don't crash
6767
adapter.printQueue()
68-
// processNextQueueItem method removed - no longer needed for compatibility
6968
adapter.unlockProcessWait(ServerRequest.PROCESS_WAIT_LOCK.SDK_INIT_WAIT_LOCK)
7069
adapter.postInitClear()
7170

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,6 @@ void unlockSDKInitWaitLock() {
826826
if (requestQueue_ == null) return;
827827
requestQueue_.postInitClear();
828828
requestQueue_.unlockProcessWait(ServerRequest.PROCESS_WAIT_LOCK.SDK_INIT_WAIT_LOCK);
829-
// processNextQueueItem call removed - critical SDK initialization unlock handled automatically
830-
// Modern queue processes immediately when SDK_INIT_WAIT_LOCK is released via unlockProcessWait
831829
}
832830

833831
private boolean isIntentParamsAlreadyConsumed(Activity activity) {
@@ -1296,9 +1294,6 @@ void registerAppInit(@NonNull ServerRequestInitSession request, boolean forceBra
12961294
BranchLogger.v("Finished ordering init calls");
12971295
requestQueue_.printQueue();
12981296
initTasks(request);
1299-
1300-
// processNextQueueItem call removed - app initialization processing handled automatically
1301-
// Modern queue processes init session request immediately after initTasks completes
13021297
}
13031298

13041299
private void initTasks(ServerRequest request) {
@@ -1319,7 +1314,6 @@ private void initTasks(ServerRequest request) {
13191314
public void onInstallReferrersFinished() {
13201315
request.removeProcessWaitLock(ServerRequest.PROCESS_WAIT_LOCK.INSTALL_REFERRER_FETCH_WAIT_LOCK);
13211316
BranchLogger.v("INSTALL_REFERRER_FETCH_WAIT_LOCK removed");
1322-
// processNextQueueItem call removed - modern queue processes automatically via unlockProcessWait
13231317
}
13241318
});
13251319
}
@@ -1331,7 +1325,6 @@ public void onInstallReferrersFinished() {
13311325
@Override
13321326
public void onAdsParamsFetchFinished() {
13331327
requestQueue_.unlockProcessWait(ServerRequest.PROCESS_WAIT_LOCK.GAID_FETCH_WAIT_LOCK);
1334-
// processNextQueueItem call removed - modern queue processes automatically via unlockProcessWait
13351328
}
13361329
});
13371330
}
@@ -1359,7 +1352,6 @@ void onIntentReady(@NonNull Activity activity) {
13591352
Uri intentData = activity.getIntent().getData();
13601353
readAndStripParam(intentData, activity);
13611354
}
1362-
// processNextQueueItem call removed - modern queue processes automatically without manual trigger
13631355
}
13641356

13651357
/**

0 commit comments

Comments
 (0)