OSDN Git Service

Don't crash when procstats has data for a now-disused uid
authorChristopher Tate <ctate@google.com>
Mon, 19 Aug 2013 00:26:48 +0000 (17:26 -0700)
committerChristopher Tate <ctate@google.com>
Mon, 19 Aug 2013 00:26:48 +0000 (17:26 -0700)
commita218e732b0a67e446f30bf2aa13e6df070fe856a
treed19dd8e2614dd11c77d3e0a5fbb4cc2ee3a8c5b3
parent55fe056d96bdb683dce0a4e66e7390d19f23e710
Don't crash when procstats has data for a now-disused uid

That is, PackageManager.getPackagesForUid(uid) can return null,
so deal with it.

Bug 10374656

Change-Id: I4eacd48c809b778e131d37dba0e86c583553e41f
src/com/android/settings/applications/ProcessStatsUi.java