Add null check for IncognitoNotificationServiceTest
#testCloseAllIncognitoNotificationIsDisplayed. StatusBarNotification#getTag method can return null if no tag was assigned to a notification. This CL adds the null check here before comparing the tag with the incognito notification tag. Bug: 1134241 Change-Id: I548ec82aebbd15a2e837cf00316d30955d828510 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463573Reviewed-by:Peter Conn <peconn@chromium.org> Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Cr-Commit-Position: refs/heads/master@{#816486}
Showing
Please register or sign in to comment