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

Commit 9934892a authored by Song Chun Fan's avatar Song Chun Fan
Browse files

[pm] better error message for debugging

Add more information to the log message when an app is installed with an SDK library but the targetSdkVersion or minSdkVersion has changed.

BUG: 361216551
Test: abdt
FLAG: EXEMPT adding logs only

Change-Id: I67f8cfcbda05ead4483a1ebe804e5b823fd6e429
parent 59526079
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1415,7 +1415,12 @@ final class InstallPackageHelper {
                                                + " an sdk library <"
                                                + parsedPackage.getSdkLibraryName() + ">"
                                                + " without changing the versionMajor, but the"
                                                + " targetSdkVersion or minSdkVersion has changed."
                                                + " targetSdkVersion or minSdkVersion has changed:"
                                                + " Old targetSdkVersion: " + oldTargetSdk
                                                + " new targetSdkVersion: " + newTargetSdk
                                                + " Old minSdkVersion: " + oldMinSdk
                                                + " new minSdkVersion: " + newMinSdk
                                                + " versionMajor: " + newVersionMajor
                                    );
                            }
                        }