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

Commit 78a08660 authored by Adam He's avatar Adam He Committed by android-build-merger
Browse files

Merge "Sets vulture to null to prevent crashes caused by unlinkToDeath." into qt-dev am: f67cd9bb

am: e642a3a1

Change-Id: Ida1467f024f85d41c284fc2e83fe01d736939fe5
parents 87910acc e642a3a1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -704,6 +704,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
            mClient.asBinder().linkToDeath(mClientVulture, 0);
        } catch (RemoteException e) {
            Slog.w(TAG, "could not set binder death listener on autofill client: " + e);
            mClientVulture = null;
        }
    }

@@ -714,6 +715,7 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
            if (!unlinked) {
                Slog.w(TAG, "unlinking vulture from death failed for " + mActivityToken);
            }
            mClientVulture = null;
        }
    }