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

Commit 13a360db authored by Mark White's avatar Mark White
Browse files

Fix NPE in PlatformCompat

Change-Id: I01c8aa5a21bc2e385c27e42d66452c9e6303b729
Flag: EXEMPT bugfix
Fix: 379058950
Test: presubmit
parent a7f04eea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -522,7 +522,7 @@ public class PlatformCompat extends IPlatformCompat.Stub {
        // b/282922910 - we don't want apps sharing system uid and targeting
        // older target sdk to impact all system uid apps
        if (Flags.systemUidTargetSystemSdk() && !mIsWear &&
                uid == Process.SYSTEM_UID) {
                uid == Process.SYSTEM_UID && appInfo != null) {
            appInfo.targetSdkVersion = Build.VERSION.SDK_INT;
        }
        return appInfo;