Fixes the system server crash issues caused by null pointer in
if the multi user occurs switch and remove then to getPackagesForUid
the return value will got null,because the user remove is not synced
with the getPackagesForUid,so we must check the return value for
getPackagesForUid to avoid the crash.
Signed-off-by: songjinshi <firstname.lastname@example.org>
1 file changed