Merge "Ensure we clear mPackagesWithShareRequests when a remote exception happens at write() or start()." into sc-qpr1-dev am: 7207d8d032

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16174880

Change-Id: If8fdbfe1c02a4b9cb0122c18d4d2a11d531c7e21