summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2010-07-13 15:55:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-13 15:55:05 -0700
commit706623ddb8314850c0551f0b66e24b5f0bd28620 (patch)
treea9e49309fb30bbee68e9cbc970604abcf47571e2 /core/jni
parent7a72f84801c3ad74f00f5d3d0da7e2212d07a911 (diff)
parentc0a7e690bfd32dd897ceccd04dd0fa6bf6e9cee6 (diff)
downloadframeworks_base-706623ddb8314850c0551f0b66e24b5f0bd28620.zip
frameworks_base-706623ddb8314850c0551f0b66e24b5f0bd28620.tar.gz
frameworks_base-706623ddb8314850c0551f0b66e24b5f0bd28620.tar.bz2
am c0a7e690: Add Parcel::readExceptionCode() and Parcel::writeNoException()
Merge commit 'c0a7e690bfd32dd897ceccd04dd0fa6bf6e9cee6' into gingerbread-plus-aosp * commit 'c0a7e690bfd32dd897ceccd04dd0fa6bf6e9cee6': Add Parcel::readExceptionCode() and Parcel::writeNoException()
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/ActivityManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/ActivityManager.cpp b/core/jni/ActivityManager.cpp
index 8950dfb..0bd14fa 100644
--- a/core/jni/ActivityManager.cpp
+++ b/core/jni/ActivityManager.cpp
@@ -39,7 +39,7 @@ int openContentProviderFile(const String16& uri)
data.writeString16(uri);
status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply);
if (ret == NO_ERROR) {
- int32_t exceptionCode = reply.readInt32();
+ int32_t exceptionCode = reply.readExceptionCode();
if (!exceptionCode) {
// Success is indicated here by a nonzero int followed by the fd;
// failure by a zero int with no data following.