summaryrefslogtreecommitdiffstats
path: root/tools/aidl
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-10-18 11:08:21 -0700
committerJoe Onorato <joeo@google.com>2011-10-18 11:09:11 -0700
commit234b5a2b98471c663811f4b2b44a98028fa8e623 (patch)
tree1f1b6a45eef8f80c372f4128cff63275767a0c7f /tools/aidl
parentd1bf06eff143a617531404c80446c03edc556340 (diff)
downloadframeworks_base-234b5a2b98471c663811f4b2b44a98028fa8e623.zip
frameworks_base-234b5a2b98471c663811f4b2b44a98028fa8e623.tar.gz
frameworks_base-234b5a2b98471c663811f4b2b44a98028fa8e623.tar.bz2
Treat parcelables as flattenables for now, until the sdk contains a newer aidl.
Change-Id: I91ab1a57805c883ceebe097ac7ce7d6575d4083b
Diffstat (limited to 'tools/aidl')
-rw-r--r--tools/aidl/aidl_language_y.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/aidl/aidl_language_y.y b/tools/aidl/aidl_language_y.y
index cc04d15..4b1442a 100644
--- a/tools/aidl/aidl_language_y.y
+++ b/tools/aidl/aidl_language_y.y
@@ -87,7 +87,9 @@ parcelable_decl:
b->name = $2.buffer;
b->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
b->semicolon_token = $3.buffer;
- b->flattening_methods = PARCELABLE_DATA;
+ // TODO: Since we're having problems with funbundling, make all parcelables also flattenables.
+ // b->flattening_methods = PARCELABLE_DATA;
+ b->flattening_methods = PARCELABLE_DATA | RPC_DATA;
$$.user_data = b;
}
| PARCELABLE ';' {