fix: 修复应用安装,升级之后无法获取配置,增加MainService获取应用时间配置
This commit is contained in:
@@ -208,10 +208,10 @@ public class ManagerService extends Service implements NetworkUtils.OnNetworkSta
|
||||
public static final String LOCK_STATE = "SCRENN_LOOCKED_STATE";
|
||||
|
||||
private void showFloatingWindow(String name) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
Log.e(TAG, "showFloatingWindow: debug mode skip");
|
||||
return;
|
||||
}
|
||||
// if (BuildConfig.DEBUG) {
|
||||
// Log.e(TAG, "showFloatingWindow: debug mode skip");
|
||||
// return;
|
||||
// }
|
||||
if (Settings.canDrawOverlays(this)) {
|
||||
// 获取WindowManager服务
|
||||
if (null == windowManager) {
|
||||
|
||||
Reference in New Issue
Block a user