This commit is contained in:
wangcongtao
2020-10-19 11:18:23 +08:00
parent 83f78f8288
commit 7cc699e251
4 changed files with 13 additions and 15 deletions

View File

@@ -229,15 +229,13 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
mMove2CurrentLocation.setOnClickListener( new OnPreventFastClickListener() {
@Override
public void onClickImpl( View v ) {
final MogoLocation location = mMogoLocationClient.getLastKnowLocation();
if (location != null) {
if (mStatusManager.isDisplayOverview()) {
mStatusManager.setDisplayOverview(TAG, false);
UiThreadHandler.removeCallbacks(mLockCarRunnable);
}
mStatusManager.setUserInteractionStatus(TAG, true, false);
mMApUIController.recoverLockMode();
if (mStatusManager.isDisplayOverview()) {
mStatusManager.setDisplayOverview(TAG, false);
UiThreadHandler.removeCallbacks(mLockCarRunnable);
}
mMApUIController.changeZoom( 16 );
// mMApUIController.recoverLockMode();
// mApis.getRefreshStrategyControllerApi().restartAutoRefreshAtTime( 0 );
}
} );
@@ -522,7 +520,7 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
public void onTouch(MotionEvent motionEvent) {
switch (motionEvent.getAction()) {
case MotionEvent.ACTION_DOWN:
UiThreadHandler.removeCallbacks(mLockCarRunnable);
break;
case MotionEvent.ACTION_UP: