Back to project page WebImageView.
The source code is released under:
MIT License
If you think the Android project WebImageView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rsv.utils; // w w w .ja v a2s. c o m import android.os.Looper; public class OSUtils { public static boolean isInMainThread() { return Thread.currentThread() == Looper.getMainLooper().getThread(); } public static void sleepMillSecs(long m) { try { Thread.sleep(m); } catch (InterruptedException e) { LogUtils.logException(e); } } }