feat:修改默认渠道名为:google_peki

This commit is contained in:
Max
2023-11-11 19:48:15 +08:00
parent 673a65b469
commit 0c7c81a929
3 changed files with 4 additions and 2 deletions

View File

@@ -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";

View File

@@ -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;
}

View File

@@ -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";
}