commit | 1174f71e94ec251da0f0b6220bef102f3462b300 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri Oct 22 10:07:11 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Fri Oct 22 10:07:11 2010 -0700 |
tree | 9e5248e40a777f3af5233707e26fe0f579cb7a05 | |
parent | 2754b4bde824bfbdc483ad627aaaea87971b053a [diff] |
Reorganize PackageManager dump to avoid NPE versionCode and mVersionName were added recently but ps.pkg can be null in some situations. Move them to where it will check before dereferencing it. Bug: 3121050 Change-Id: I46081f300e7a40354cb757f9eaa7ec98b9334c8b