Allow additional reason/surface combinations for cancel
Bubbles log REASON_GROUP_SUMMARY_CANCELED/DISMISSAL_BUBBLE, which wasn't
an allowed combination.
To make this more robust, only look at surface values for REASON_CANCEL,
which is the only reason that needs them. Also, use wtf instead of
exceptions so we can track issues without crashing.
Test: atest NotificationRecordLogger
Fixes: 288516227
Change-Id: I054969dc82da5277002049d063abdb044dcc811e
(cherry picked from commit 80ce161ff11dd075107708ff4c64b219cc48bb6c)
Merged-In: I054969dc82da5277002049d063abdb044dcc811e
2 files changed