commit | 70fc04c84db8f99ac2ac60fd9719b91057aacc9b | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri Oct 22 10:07:11 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Fri Nov 05 11:59:45 2010 -0700 |
tree | 5a32634a0597a9b247dcb6e0830b18d171758ccf | |
parent | 47e43febdd8ba83c333c9c98ca6a8c0bda421305 [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: 3152896 Change-Id: If992a1f29ac7b8f595f847b7743fd2374662bb6e