Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e48acf1b authored by Yao Chen's avatar Yao Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix crash in IncidentCompanionService. Null means *don't* do the check."

parents 0f92de37 5377bbab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -300,7 +300,7 @@ public class IncidentCompanionService extends SystemService {
                        android.Manifest.permission.DUMP, null);
                getContext().enforceCallingOrSelfPermission(
                        android.Manifest.permission.PACKAGE_USAGE_STATS, null);
                if (pkg == null) {
                if (pkg != null) {
                    enforceCallerIsSameApp(pkg);
                }
            }