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

Commit f9a42037 authored by ligi's avatar ligi
Browse files

Replace Thread.sleep() with SystemClock.sleep()

parent 9ab2029c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
package com.fsck.k9.controller;

import android.os.SystemClock;
import java.io.CharArrayWriter;
import java.io.IOException;
import java.io.PrintWriter;
@@ -319,10 +320,7 @@ public class MessagingController implements Runnable {
                queue.put(command);
                return;
            } catch (InterruptedException ie) {
                try {
                    Thread.sleep(200);
                } catch (InterruptedException ne) {
                }
                SystemClock.sleep(200);
                e = ie;
            }
        }