根据包名过滤下载按钮状态
This commit is contained in:
@ -4,6 +4,7 @@ package com.gh.common.constant;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.gh.common.util.GsonUtils;
|
||||
@ -157,6 +158,7 @@ public class Config {
|
||||
mSettingsEntity = settingsEntity;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static SettingsEntity getSettings() {
|
||||
if (mSettingsEntity == null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user