commit | 9ee9274e5ebd131cef02d543fdb5cd1c1ae9a9f6 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Sep 01 13:40:57 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Sep 01 13:59:02 2010 -0700 |
tree | b63990a7fd4a5a2faf88d894dab89781367265f9 | |
parent | 1751086360056bc60d00f2ed2988bc82be9e7bd9 [diff] |
Add null check for package settings A few lines down "ps" is run through a null check, so apparently there could be some screwy system conditions where this is encountered. And, in fact, this was encountered through an updated system pacakge that managed to delete the package from /system/app during testing. It left the PackageSetting in mDisabledSysPackages which would cause a deference of a null variable. Change-Id: Ic7faca569abd16a87a8a69c20df08c11a274a001