feat:修改默认渠道名为:google_peki
This commit is contained in:
@@ -105,7 +105,7 @@ public class Constants {
|
||||
//相亲模式男神坑位下标
|
||||
public static final List<Integer> maleIndex = Arrays.asList(0, 1, 4, 5);
|
||||
|
||||
public static final String GOOGLE = "google";
|
||||
public static final String GOOGLE = com.bingchuang.library.common.Constants.GOOGLE;
|
||||
|
||||
public static final String ANDROID = "android";
|
||||
|
||||
|
@@ -5,6 +5,7 @@ import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.bingchuang.library.common.Constants;
|
||||
import com.bingchuang.library.utils.config.BasicConfig;
|
||||
import com.bingchuang.library.utils.log.MLog;
|
||||
|
||||
@@ -26,7 +27,7 @@ public class AppMetaDataUtil {
|
||||
*/
|
||||
public static String getChannelID() {
|
||||
String channelID = BasicConfig.INSTANCE.getChannel();
|
||||
channelID = TextUtils.isEmpty(channelID) ? "google" : channelID;
|
||||
channelID = TextUtils.isEmpty(channelID) ? Constants.GOOGLE: channelID;
|
||||
return channelID;
|
||||
}
|
||||
|
||||
|
@@ -9,4 +9,5 @@ public class Constants {
|
||||
//上传的gif 默认大小不能超过 1MB
|
||||
public static final int UPLOAD_GIF_MAX_SIZE = 1 << 20;
|
||||
|
||||
public static final String GOOGLE = "google_peki";
|
||||
}
|
||||
|
Reference in New Issue
Block a user