优化代码

This commit is contained in:
xuhuixiang
2026-03-17 15:27:40 +08:00
parent 3e9378472b
commit 229ffaea8f
3 changed files with 116 additions and 143 deletions

View File

@@ -11,7 +11,6 @@ public class IndexActivity extends MainActivity {
initConfig();
super.onCreate(savedInstanceState);
initWinwdowLogoConfig();
// registerFCM();
}
@Override
@@ -33,6 +32,7 @@ public class IndexActivity extends MainActivity {
if (!task.isSuccessful()) {
msg = "Subscribe failed";
}else{
//fcm能注册成功 再去请求通知权限
checkNotify();
}
LogUtils.i("支持FCM 结果:"+msg);