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

Commit 72b16f67 authored by Chandan Nath's avatar Chandan Nath Committed by Android (Google) Code Review
Browse files

Merge "Avoid warning logs on blocking Binder calls out of system_server to IBackupTransport"

parents 0c83c809 d153d5fd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Binder;
import android.os.DeadObjectException;
import android.os.Handler;
import android.os.IBinder;
@@ -662,6 +663,10 @@ public class TransportClient {
                referenceLost("TransportConnection.onServiceConnected()");
                return;
            }
            // TODO (b/147705255): Remove when binder calls to IBackupTransport are not blocking
            // In short-term, blocking calls are OK as the transports come from the whitelist at
            // {@link SystemConfig#getBackupTransportWhitelist()}
            Binder.allowBlocking(binder);
            transportClient.onServiceConnected(binder);
        }