Skip to content
Commit 0655edd6 authored by songjinshi's avatar songjinshi Committed by Xin Li
Browse files

Fixes the system server crash issues caused by null pointer in

NetworkPolicyManagerService.

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.

https://code.google.com/p/android/issues/detail?id=211972



Change-Id: If921582da86dbe862f2dad337b0a8d1f20593c99
Signed-off-by: default avatarsongjinshi <songjinshi@xiaomi.com>
parent 4d14e9d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment