resolve merge conflicts of b9d266f to nyc-dev-plus-aosp
Change-Id: I1580d3c108d1f0b57f75b27d67e229f8b314a72a
This commit is contained in:
@@ -2747,7 +2747,7 @@ public class NetworkPolicyManagerService extends INetworkPolicyManager.Stub {
|
||||
final String[] packages = mContext.getPackageManager().getPackagesForUid(uid);
|
||||
final int userId = UserHandle.getUserId(uid);
|
||||
|
||||
if (!ArrayUtils.isEmpty(packages)) {
|
||||
if (packages != null) {
|
||||
for (String packageName : packages) {
|
||||
if (!mUsageStats.isAppIdle(packageName, uid, userId)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user