opt
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user