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

Commit 0f668b09 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Retry pullfinish with empty payload if call fails" into rvc-dev...

Merge "Merge "Retry pullfinish with empty payload if call fails" into rvc-dev am: 273c839a am: e30f2cc3 am: 2c139175" into rvc-qpr-dev-plus-aosp am: adf190d1

Change-Id: If0e23c5f0e8811df3c60671d5c045f629c8deff1
parents ccd13592 adf190d1
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -561,7 +561,15 @@ public final class StatsManager {
                    try {
                        resultReceiver.pullFinished(atomTag, success, parcels);
                    } catch (RemoteException e) {
                        Log.w(TAG, "StatsPullResultReceiver failed for tag " + mAtomId);
                        Log.w(TAG, "StatsPullResultReceiver failed for tag " + mAtomId
                                + " due to TransactionTooLarge. Calling pullFinish with no data");
                        StatsEventParcel[] emptyData = new StatsEventParcel[0];
                        try {
                            resultReceiver.pullFinished(atomTag, /*success=*/false, emptyData);
                        } catch (RemoteException nestedException) {
                            Log.w(TAG, "StatsPullResultReceiver failed for tag " + mAtomId
                                    + " with empty payload");
                        }
                    }
                });
            } finally {