Return PackageInfo versionCode if not deprecated

Test: none
bug: 139855957
Change-Id: I131f72e4f44fc3053359b168d6f120645cb4b372
1 file changed