新增配置隱藏第三方登陸按鈕
This commit is contained in:
@@ -40,6 +40,10 @@ public class CommonAppConfig {
|
||||
public static final String BUILD_TIME = getMetaDataString("BUILD_TIME");
|
||||
public static final boolean IS_SW_RELEASE = getMetaDataBoolean("SW_RELEASE_MODEL");
|
||||
public static final int LINE_CHANNEL_ID = getMetaDataInt("LINE_ID");
|
||||
public static final boolean IS_HIDE_GOOGLE_LOGIN = getMetaDataBoolean("HIDE_GOOGLE_LOGIN");
|
||||
public static final boolean IS_HIDE_FACEBOOK_LOGIN = getMetaDataBoolean("HIDE_FACEBOOK_LOGIN");
|
||||
public static final boolean IS_HIDE_LINE_LOGIN = getMetaDataBoolean("HIDE_LINE_LOGIN");
|
||||
public static final boolean IS_HIDE_TWITTER_LOGIN = getMetaDataBoolean("HIDE_TWITTER_LOGIN");
|
||||
//外部sd卡
|
||||
public static final String DCMI_PATH = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getAbsolutePath();
|
||||
//内部存储 /data/data/<application package>/files目录
|
||||
|
||||
@@ -2,6 +2,8 @@ package com.yunbao.common.utils;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.util.Log;
|
||||
|
||||
import com.blankj.utilcode.util.LogUtils;
|
||||
import com.yunbao.common.BuildConfig;
|
||||
|
||||
import com.yunbao.common.manager.OpenAdManager;
|
||||
@@ -83,6 +85,7 @@ public class AppManager {
|
||||
if (activityStack == null) {
|
||||
activityStack = new Stack<Activity>();
|
||||
}
|
||||
LogUtils.e();
|
||||
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>class com.yunbao.main.activity.MsgAddressBookActivity
|
||||
if (getActivity(activity.getClass()) != null) {
|
||||
activityStack.remove(getActivity(activity.getClass()));
|
||||
|
||||
Reference in New Issue
Block a user