Commit 91522c43 authored by justin's avatar justin Committed by GitHub

Merge pull request #768 from YunanChen/hotfix/lint_error

fix: BoostFlutterActivity获取activityInfo的lint错误
parents a70ee92e 1d0b32ee
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