Handle PendingIntent cancellation v2
On cancel:
- Remove unopened bubble
- Mark opened bubble as canceled to skip overflowing later
Fixes: 152889099
Test: manual
1) Expand bubble with FLAG_ONE_SHOT PendingIntent => bubble NOT removed
2) Overflow bubble => bubble removed
Test: manual
1) Overflow bubble with FLAG_ONE_SHOT PendingIntent without expanding it
2) Promote bubble from overflow
3) Expand bubble => bubble NOT removed
4) Overflow bubble => bubble removed
Change-Id: I1657e84985ff1535205f8e32d1ace9dd3a3cc7ef
3 files changed