Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63f5f3a4 authored by Sergey Volnov's avatar Sergey Volnov
Browse files

After data was successfully copied - mark package as able to receive new

sharing requrests.

Bug: 145205247
Test: this was actually surfaced during CTS tests implementation, when
subsequent test executions failed because of needing a timeout.

Change-Id: I529216d0e9139f165f90bdaab80850c4c047f836
parent 5cf71d71
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -998,6 +998,11 @@ public final class ContentCaptureManagerService extends

                    sendErrorSignal(mClientAdapterReference, serviceAdapterReference,
                            ContentCaptureManager.DATA_SHARE_ERROR_UNKNOWN);
                } finally {
                    synchronized (parentService.mLock) {
                        parentService.mPackagesWithShareRequests
                                .remove(mDataShareRequest.getPackageName());
                    }
                }
            });