opt
This commit is contained in:
@@ -64,7 +64,7 @@ MOGO_MODULE_ONLINECAR_VERSION=1.0.2-SNAPSHOT
|
||||
# v2x
|
||||
MOGO_MODULE_V2X_VERSION=1.0.3-SNAPSHOT
|
||||
# 媒体卡片
|
||||
MOGO_MODULE_MEDIA_VERSION=1.0.1-SNAPSHOT
|
||||
MOGO_MODULE_MEDIA_VERSION=1.0.2-SNAPSHOT
|
||||
# 推送
|
||||
MOGO_MODULE_PUSH_VERSION=1.0.0-SNAPSHOT
|
||||
# 广告资源位
|
||||
|
||||
@@ -28,8 +28,10 @@ dependencies {
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.mogoutils
|
||||
implementation rootProject.ext.dependencies.mogocommons
|
||||
} else {
|
||||
implementation project(':foudations:mogo-utils')
|
||||
implementation project(':foudations:mogo-commons')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.mogo.map;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import com.mogo.map.impl.amap.InterceptorHandler;
|
||||
import com.mogo.map.impl.amap.overlay.RouteOverlayHelper;
|
||||
@@ -8,6 +9,7 @@ import com.mogo.map.marker.IMogoMarker;
|
||||
import com.mogo.map.marker.IMogoMarkerManager;
|
||||
import com.mogo.map.marker.MogoMarkerOptions;
|
||||
import com.mogo.map.marker.MogoMarkersHandler;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -21,6 +23,8 @@ import java.util.Map;
|
||||
*/
|
||||
public class MogoMarkerManager implements IMogoMarkerManager {
|
||||
|
||||
private static final String TAG = "MogoMarkerManager";
|
||||
|
||||
private static volatile MogoMarkerManager sInstance;
|
||||
private Context mApplicationContext;
|
||||
|
||||
@@ -66,11 +70,13 @@ public class MogoMarkerManager implements IMogoMarkerManager {
|
||||
|
||||
@Override
|
||||
public void removeMarkers( String tag ) {
|
||||
Logger.d( TAG, Log.getStackTraceString( new Throwable() ) );
|
||||
MogoMarkersHandler.getInstance().remove( tag );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeMarkers() {
|
||||
Logger.d( TAG, Log.getStackTraceString( new Throwable() ) );
|
||||
MogoMarkersHandler.getInstance().removeAll();
|
||||
}
|
||||
|
||||
@@ -86,6 +92,7 @@ public class MogoMarkerManager implements IMogoMarkerManager {
|
||||
|
||||
@Override
|
||||
public void removeMarkersExcept( String tag ) {
|
||||
Logger.d( TAG, Log.getStackTraceString( new Throwable() ) );
|
||||
MogoMarkersHandler.getInstance().deleteAllExcept( tag );
|
||||
}
|
||||
|
||||
|
||||
@@ -40,10 +40,10 @@ public class AppFilterImpl implements AppFilter {
|
||||
if ( isFilterPackages( packageInfo ) ) {
|
||||
return true;
|
||||
}
|
||||
if ( noLaunchIntent( packageInfo ) ) {
|
||||
if ( !AppEnumHelper.isCustomizedApp( packageInfo.packageName ) ) {
|
||||
return true;
|
||||
}
|
||||
if ( !AppEnumHelper.isCustomizedApp( packageInfo.packageName ) ) {
|
||||
if ( noLaunchIntent( packageInfo ) ) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -74,7 +74,7 @@ public enum AppEnum {
|
||||
FreshThings( "新鲜事", "com.zhidao.fresh.things", R.drawable.module_apps_ic_fresh_things ),
|
||||
|
||||
// 个人中心
|
||||
PersonCenter( "个人中心", "com.zhidao.auto.personal ", R.drawable.module_apps_ic_fresh_things ),
|
||||
PersonCenter( "个人中心", "com.zhidao.auto.personal", R.drawable.module_apps_ic_personal_center ),
|
||||
;
|
||||
|
||||
private String mName;
|
||||
|
||||
BIN
modules/mogo-module-apps/src/main/res/drawable-ldpi/module_apps_ic_personal_center.png
Executable file → Normal file
BIN
modules/mogo-module-apps/src/main/res/drawable-ldpi/module_apps_ic_personal_center.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 9.5 KiB |
BIN
modules/mogo-module-apps/src/main/res/drawable-xhdpi/module_apps_ic_personal_center.png
Executable file → Normal file
BIN
modules/mogo-module-apps/src/main/res/drawable-xhdpi/module_apps_ic_personal_center.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user