Add comment in IActivityManager.aidl.

Bug: 30977067
Test: N/A
Change-Id: Ide7385f5d4493f45d75550c569457865107bf779
This commit is contained in:
Sudheer Shanka
2016-11-23 15:24:51 -08:00
parent 3f5de07e92
commit 027a33da6f

View File

@@ -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.
}