Merge "Fix an incorrect null check"

am: 09071b4fa8

Change-Id: Ie69056c21ee03e397881c14ef69804fead2202a9
This commit is contained in:
Edward Savage-Jones
2018-07-20 08:00:25 -07:00
committed by android-build-merger

View File

@@ -477,7 +477,7 @@ public class NotificationManagerService extends SystemService {
String defaultDndAccess = getContext().getResources().getString(
com.android.internal.R.string.config_defaultDndAccessPackages);
if (defaultListenerAccess != null) {
if (defaultDndAccess != null) {
for (String whitelisted :
defaultDndAccess.split(ManagedServices.ENABLED_SERVICES_SEPARATOR)) {
try {