修改 launcher ACC OFF 之后页面偶现被回收,无法重启的问题。
This commit is contained in:
@@ -347,6 +347,10 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
mMogoMapService.getHostListenerRegister().unregisterMarkerClickListener();
|
||||
mMogoMapService.getHostListenerRegister().unregisterHostAimlessModeListener();
|
||||
mMogoMapService.getHostListenerRegister().unregisterHostNaviListener();
|
||||
mMogoMapService.getHostListenerRegister().unregisterHostMapListener();
|
||||
mMogoMapService.getHostListenerRegister().registerMarkerClickListener( this );
|
||||
mMogoStatusManager.setMainPageLaunchedStatus( TAG, false );
|
||||
mMogoMapService = null;
|
||||
mMogoMapUIController = null;
|
||||
|
||||
@@ -509,6 +509,9 @@ public class TanluSlideAdapterNew extends RecyclerView.Adapter<TanluSlideViewHol
|
||||
|
||||
@Override
|
||||
public void onMapUiModeChanged(EnumMapUI mapUI) {
|
||||
if ( mRoundLayout == null ) {
|
||||
return;
|
||||
}
|
||||
switch ( mapUI ) {
|
||||
case Type_Night:
|
||||
Log.d("liyz", "Type_Night ---------> ");
|
||||
|
||||
Reference in New Issue
Block a user