标签:style http color io ar java strong sp 问题
private static void prepare(boolean quitAllowed) {
if (sThreadLocal.get() != null) {
throw new RuntimeException("Only one Looper may be created per thread");
}
sThreadLocal.set(new Looper(quitAllowed));
}
Service到底要不要自己调用Looper.prepare()?
标签:style http color io ar java strong sp 问题
原文地址:http://www.cnblogs.com/lengyanyue39/p/4002006.html