commit | 406a5a93310b1a5b90406538a4665f7b6dc748d1 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Mon Jun 29 17:49:20 2020 -0400 |
committer | Matt Pietal <mpietal@google.com> | Mon Jun 29 17:49:20 2020 -0400 |
tree | 7bd3a57718afa8826a7e03f8f26863b65fcec9f1 | |
parent | f629b618a446a45b5b3d8d95290f0c170e4ea208 [diff] |
Sharesheet - Fix crash when suspended app is selected After selecting a suspended app, the package monitor would be unregistered even though the app would never be launched. This would cause an IllegalStateException on the next selection of any target, and crash the sharesheet. Check for a suspended target before unregistering. Fixes: 160015744 Test: manual, follow BR steps and pause an app Change-Id: I1b0c79bad0fa75aea6a543b6f8a4848720faa0c8