Descriptioncustomtabs: Add paranoia to isCallerForegroundOrSelf() due to NPEs in the wild.
We have a number of NPEs reported from devices in the
wild. Unfortunately, we only know that they happen on L pre-MR1, and
from warmup(). This commits adds null checks to prevent these from
crashing the client (reported by GSA).
BUG=654705
Review-Url: https://codereview.chromium.org/2404183004
Cr-Commit-Position: refs/heads/master@{#424406}
(cherry picked from commit f974fe4e5a32803b83592a014a82db683cb485f7)
Committed: https://chromium.googlesource.com/chromium/src/+/1d5357e02cda8ed82b7788b76e036937a329460f
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|