From 027a33da6f02bcb33aba81eb73e2018c024d0b03 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Wed, 23 Nov 2016 15:24:51 -0800 Subject: [PATCH] Add comment in IActivityManager.aidl. Bug: 30977067 Test: N/A Change-Id: Ide7385f5d4493f45d75550c569457865107bf779 --- core/java/android/app/IActivityManager.aidl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/IActivityManager.aidl b/core/java/android/app/IActivityManager.aidl index 82be7abeb87d1..03944373190b5 100644 --- a/core/java/android/app/IActivityManager.aidl +++ b/core/java/android/app/IActivityManager.aidl @@ -76,10 +76,12 @@ import java.util.List; */ interface IActivityManager { // WARNING: when these transactions are updated, check if they are any callers on the native - // side. If so, make sure they are using the correct transaction ids. + // side. If so, make sure they are using the correct transaction ids and arguments. // If a transaction which will also be used on the native side is being inserted, add it to // below block of transactions. + // Since these transactions are also called from native code, these must be kept in sync with + // the ones in frameworks/native/include/binder/IActivityManager.h // =============== Beginning of transactions used on native side as well ====================== ParcelFileDescriptor openContentUri(in String uriString); // =============== End of transactions used on native side as well ============================ @@ -573,7 +575,7 @@ interface IActivityManager { in IBinder activityToken); // WARNING: when these transactions are updated, check if they are any callers on the native - // side. If so, make sure they are using the correct transaction ids. + // side. If so, make sure they are using the correct transaction ids and arguments. // If a transaction which will also be used on the native side is being inserted, add it // alongside with other transactions of this kind at the top of this file. } \ No newline at end of file