Merge "Add getPriorSdkVersion to PackageManagerInternal" into main