commit | 8258dc23d3584d8ca2b0ddade6fb84adb86e4866 | [log] [tgz] |
---|---|---|
author | Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> | Mon Dec 20 13:42:54 2010 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Fri Jul 01 07:56:27 2011 +0200 |
tree | 4633c2edaa73178e45bac6cc96f1e1de63fd989f | |
parent | 643e48b7fd1f1be62ac4bedc1051c00be129006b [diff] |
Fix NPE due to missing ProcessItem.mPackageInfo The reason was that a item was removed from the SparseArray while iterating it causing one ProcessItem to be skipped in the loop which makes sure that mPackageInfo is not null. This happens when all processes for one uid is stopped and a new process is created. This problem was found by running monkey. Change-Id: I5e9a76e8007819d5e6d9ba15af0c2362da193526