Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bdfabdf authored by Chavi Weingarten's avatar Chavi Weingarten
Browse files

Blast sync timeout should be in s, not ms

Test: Logs aren't spammy
Bug: 315285692
Change-Id: I3d949ee97f5e8224cd87843dbdb2be4c27907126
parent b431dc66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11995,7 +11995,7 @@ public final class ViewRootImpl implements ViewParent,
                        Runnable timeoutRunnable = () -> Log.e(mTag,
                                "Failed to submit the sync transaction after 4s. Likely to ANR "
                                        + "soon");
                        mHandler.postDelayed(timeoutRunnable, 4L * Build.HW_TIMEOUT_MULTIPLIER);
                        mHandler.postDelayed(timeoutRunnable, 4000L * Build.HW_TIMEOUT_MULTIPLIER);
                        transaction.addTransactionCommittedListener(mSimpleExecutor,
                                () -> mHandler.removeCallbacks(timeoutRunnable));
                        surfaceSyncGroup.addTransaction(transaction);