Add parsed package name to installer session

The appPackageName field is optionally provided by the caller,
so fill it with the parsed packageName if available.

Bug: 151299999

Test: atest android.content.pm.PackageSessionTests
Test: atest android.content.pm.PackageManagerTests

Change-Id: If0d63c745cb4c01a6fd88cc6bf07763684b6a96c
3 files changed