Commit 1d0b32ee authored by YunanChen's avatar YunanChen

fix: BoostFlutterActivity获取activityInfo的lint错误

parent a70ee92e
package com.idlefish.flutterboost.containers;
import android.annotation.SuppressLint;
import android.app.Activity;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleOwner;
......@@ -186,6 +187,7 @@ public class BoostFlutterActivity extends Activity
*/
@Nullable
@SuppressWarnings("deprecation")
@SuppressLint("WrongConstant")
private Drawable getSplashScreenFromManifest() {
try {
ActivityInfo activityInfo = getPackageManager().getActivityInfo(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment