PackageInstaller: Show current & new version

Change-Id: Iee10d988c095475e1ccbcea7a9c64d9e114d79e6
Fix NPE when install apk files from download manager

D/AndroidRuntime(15031): Shutting down VM
W/dalvikvm(15031): threadid=1: thread exiting with uncaught exception (group=0x418aec80)
E/AndroidRuntime(15031): FATAL EXCEPTION: main
E/AndroidRuntime(15031): Process: com.android.packageinstaller, PID: 15031
E/AndroidRuntime(15031): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.packageinstaller/com.android.packageinstaller.PackageInstallerActivity}: java.lang.NullPointerException
E/AndroidRuntime(15031):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2216)
E/AndroidRuntime(15031):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2266)
E/AndroidRuntime(15031):        at android.app.ActivityThread.access00(ActivityThread.java:141)
E/AndroidRuntime(15031):        at android.app.ActivityThread.handleMessage(ActivityThread.java:1202)
E/AndroidRuntime(15031):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(15031):        at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(15031):        at android.app.ActivityThread.main(ActivityThread.java:5068)
E/AndroidRuntime(15031):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15031):        at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(15031):        at com.android.internal.os.ZygoteInit.run(ZygoteInit.java:779)
E/AndroidRuntime(15031):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime(15031):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(15031): Caused by: java.lang.NullPointerException
E/AndroidRuntime(15031):        at com.android.packageinstaller.PackageInstallerActivity.getOriginatingUid(PackageInstallerActivity.java:566)
E/AndroidRuntime(15031):        at com.android.packageinstaller.PackageInstallerActivity.onCreate(PackageInstallerActivity.java:522)
E/AndroidRuntime(15031):        at android.app.Activity.performCreate(Activity.java:5241)
E/AndroidRuntime(15031):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime(15031):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
E/AndroidRuntime(15031):        ... 11 more
W/ActivityManager(  604):   Force finishing activity com.android.packageinstaller/.PackageInstallerActivity
W/ActivityManager(  604):   Force finishing activity com.android.documentsui/.DocumentsActivity
W/ActivityManager(  604): Activity pause timeout for ActivityRecord{41fca3a0 u0 com.android.packageinstaller/.PackageInstallerActivity t67 f}
I/ActivityManager( 1274): Timeline: Activity_idle id: android.os.BinderProxy@41e1aff8 time:96664603
I/ActivityManager(  604): Timeline: Activity_windows_visible id: ActivityRecord{41ff20d8 u0 com.android.launcher3/.Launcher t4} time:96665030
V/nvaudio_hw( 3880): nvaudio_out_standby
V/nvaudio_hw( 3880): close_alsa_dev : active stream count 1
E/lights  (  604): YJChae write_int set_light_buttons 0
E/WindowManager(  604): Starting window AppWindowToken{41f4f6e8 token=Token{427b46a8 ActivityRecord{41fca3a0 u0 com.android.packageinstaller/.PackageInstallerActivity t67}}} timed out
W/ActivityManager(  604): Activity destroy timeout for ActivityRecord{41fca3a0 u0 com.android.packageinstaller/.PackageInstallerActivity t67 f}
E/lights  (  604): YJChae write_int set_light_buttons 6710886
I/Process (15031): Sending signal. PID: 15031 SIG: 9

Change-Id: I72f08e59a6087be1202d51d951dd8f1d9e5612ef