Updating API to be one way.

Test: manual testing on device
Bug: 279787820
Change-Id: Ie439baea80aab8c94349151c6db23238e9b34210
This commit is contained in:
Kunal Malhotra
2023-04-27 22:28:59 +00:00
parent 9cb6c27097
commit 8ed98f2710

View File

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