Merge "Make OBB results a one-way call" into gingerbread

This commit is contained in:
Kenny Root
2011-01-26 09:17:28 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 2 deletions

View File

@ -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();

View File

@ -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";