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

Commit 36a9cd53 authored by Mark White's avatar Mark White Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in PlatformCompat" into main

parents c4a77391 13a360db
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;