From 8ed98f2710957327865bd09eab8b993a3c2e61ee Mon Sep 17 00:00:00 2001 From: Kunal Malhotra Date: Thu, 27 Apr 2023 22:28:59 +0000 Subject: [PATCH] Updating API to be one way. Test: manual testing on device Bug: 279787820 Change-Id: Ie439baea80aab8c94349151c6db23238e9b34210 --- core/java/android/app/IActivityManager.aidl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/IActivityManager.aidl b/core/java/android/app/IActivityManager.aidl index 91eb4c44cda5a..a7a9ed6f2e7ec 100644 --- a/core/java/android/app/IActivityManager.aidl +++ b/core/java/android/app/IActivityManager.aidl @@ -110,13 +110,13 @@ interface IActivityManager { int checkPermission(in String permission, int pid, int uid); /** Logs start of an API call to associate with an FGS, used for FGS Type Metrics */ - void logFgsApiBegin(int apiType, int appUid, int appPid); + oneway void logFgsApiBegin(int apiType, int appUid, int appPid); /** Logs stop of an API call to associate with an FGS, used for FGS Type Metrics */ - void logFgsApiEnd(int apiType, int appUid, int appPid); + oneway void logFgsApiEnd(int apiType, int appUid, int appPid); /** Logs API state change to associate with an FGS, used for FGS Type Metrics */ - void logFgsApiStateChanged(int apiType, int state, int appUid, int appPid); + oneway void logFgsApiStateChanged(int apiType, int state, int appUid, int appPid); // =============== End of transactions used on native side as well ============================ // Special low-level communication with activity manager.