InactivityTimer控制扫描界面销毁时间控制 public final class InactivityTimer { private static final class DaemonThreadFactory implements ThreadFactory { @Override public Thread newThread(Runnable runnable) { final Thread thread = new Thread(runnable); thread.setDaemon(true); return thread; } } private static final