commit | d3d0aeeb3b160e623bf4e7c5b68caea2ca2aa637 | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Wed Jun 24 11:50:07 2020 -0400 |
committer | Miranda Kephart <mkephart@google.com> | Wed Jun 24 11:50:07 2020 -0400 |
tree | ab5bea2a7a0547d0e4d7dc48c0458e4ca7c5fcd8 | |
parent | f9836b0186cc14d65069f165ef777ea66c1c477f [diff] |
Add FLAG_CANCEL_CURRENT to screenshot share intent The share intent uses clipData, which isn't used to match intents. Thus, subsequent screenshots didn't update the share intent, so trying to share a second screenshot would end up sharing the first one. Adding FLAG_CANCEL_CURRENT fixes this problem. Bug: 159751741 Fix: 159751741 Test: manual Change-Id: I5eb63f075c3156e5061ee9f63ba17afa6b7abbbd