More fix for 64 bit offset.

Change-Id: Ia05060113ca0f43a4362914dc99c89c89e30eb4a
This commit is contained in:
Gloria Wang
2011-01-19 15:38:16 -08:00
parent 886c09ee81
commit 2ed8a921ef

View File

@@ -382,7 +382,7 @@ status_t BpDrmManagerService::setPlaybackStatus(
} }
data.writeInt32(playbackStatus); data.writeInt32(playbackStatus);
data.writeInt32(position); data.writeInt64(position);
remote()->transact(SET_PLAYBACK_STATUS, data, &reply); remote()->transact(SET_PLAYBACK_STATUS, data, &reply);
return reply.readInt32(); return reply.readInt32();
@@ -1111,7 +1111,7 @@ status_t BnDrmManagerService::onTransact(
} }
const status_t status const status_t status
= setPlaybackStatus(uniqueId, &handle, data.readInt32(), data.readInt32()); = setPlaybackStatus(uniqueId, &handle, data.readInt32(), data.readInt64());
reply->writeInt32(status); reply->writeInt32(status);
delete handle.decryptInfo; handle.decryptInfo = NULL; delete handle.decryptInfo; handle.decryptInfo = NULL;