private boolean reqEnable() {
// Log.i(TAG, "reqEnable");
if (!timer_run) {
timer_run = true;
final Thread timerThread = new Thread() {
@Override
public void run() {
try {
sleep(2000);
} catch (Exception e) {
}
timer_run = false;
// Log.i(TAG, "reqEnable thread end timer_run = " + timer_run);
}
};
timerThread.start();
return true;
} else {
// Log.i(TAG, "访问频率2秒最多1次");
return false;
}
}