[AW] DevUI: always show crashes for default channel
Crash keys can be absent (null) in some cases like if it's a crash from an old version. Switch statements in java assume non-null values which causes NPE when checking for channel info on old crashes. To avoid this , we will use getCrashKeyOrDefault method. In addition, always show crashes if they are from UNKOWN/DEFAULT channel to avoid hiding crashes from older versions. Fixed: 1093898 Test: Build default channel, trigger a crash. Test: Manually remove channel info from log file and open the crash UI Change-Id: I1a445d59a267cb7f41b400b36caa7bf7a31296e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2243291 Commit-Queue: Hazem Ashmawy <hazems@chromium.org> Reviewed-by:Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#777970}
Showing
Please register or sign in to comment