Skip to content

Commit

Permalink
OboeTester: Let the final update of NativeSniffer actually update (#2159
Browse files Browse the repository at this point in the history
)
  • Loading branch information
robertwu1 authored Feb 13, 2025
1 parent ed079cf commit a231d4b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ abstract class NativeSniffer implements Runnable {

@Override
public void run() {
if (mEnabled && !isComplete()) {
if (!isComplete()) {
updateStatusText();
}

// When this is no longer enabled, stop calling run.
if (mEnabled) {
mHandler.postDelayed(this, SNIFFER_UPDATE_PERIOD_MSEC);
}
}
Expand Down

0 comments on commit a231d4b

Please sign in to comment.