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

Commit b7db2726 authored by Kenny Root's avatar Kenny Root
Browse files

Make OBB results a one-way call

OBB result back to an application needs to be a one-way binder call.

Bug: 3353699
Change-Id: I0e625914d18a001c2fa9d764ea6463f34cf96743
parent c929677e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -112,7 +112,8 @@ public interface IObbActionListener extends IInterface {
                    _data.writeString(filename);
                    _data.writeInt(nonce);
                    _data.writeInt(status);
                    mRemote.transact(Stub.TRANSACTION_onObbResult, _data, _reply, 0);
                    mRemote.transact(Stub.TRANSACTION_onObbResult, _data, _reply,
                            Binder.FLAG_ONEWAY);
                    _reply.readException();
                } finally {
                    _reply.recycle();
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ class MountService extends IMountService.Stub
    private static final boolean LOCAL_LOGD = false;
    private static final boolean DEBUG_UNMOUNT = false;
    private static final boolean DEBUG_EVENTS = false;
    private static final boolean DEBUG_OBB = true;
    private static final boolean DEBUG_OBB = false;

    private static final String TAG = "MountService";