Merge remote-tracking branch 'origin/feature/v1.0.2' into feature/v1.0.2
This commit is contained in:
@@ -78,6 +78,8 @@ public class ExtensionsPresenter extends Presenter< ExtensionsView > implements
|
||||
};
|
||||
private boolean mHasTipWords = false;
|
||||
|
||||
private boolean mHasStarted = false;
|
||||
|
||||
/**
|
||||
* 接收时间变化的广播
|
||||
*/
|
||||
@@ -210,6 +212,10 @@ public class ExtensionsPresenter extends Presenter< ExtensionsView > implements
|
||||
if ( !mHasTipWords ) {
|
||||
return;
|
||||
}
|
||||
if ( mHasStarted ) {
|
||||
return;
|
||||
}
|
||||
mHasStarted = true;
|
||||
if ( autoChange ) {
|
||||
mHandler.sendEmptyMessageDelayed( MSG_SWITCH_AI_TIP_WORDS, INTERVAL_TIME );
|
||||
Logger.d( TAG, "auto switch" );
|
||||
|
||||
Reference in New Issue
Block a user