Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ed98f27 authored by Kunal Malhotra's avatar Kunal Malhotra
Browse files

Updating API to be one way.

Test: manual testing on device
Bug: 279787820
Change-Id: Ie439baea80aab8c94349151c6db23238e9b34210
parent 9cb6c270
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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.