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

Commit 5b9de38c authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "Activity manager: native callback for process state"

parents 2fcf06a2 25f2eaca
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ interface IActivityManager {
            String callingPackage);
    void unregisterUidObserver(in IUidObserver observer);
    boolean isUidActive(int uid, String callingPackage);
    int getUidProcessState(int uid, in String callingPackage);
    // =============== End of transactions used on native side as well ============================

    // Special low-level communication with activity manager.
@@ -379,8 +380,6 @@ interface IActivityManager {
    void noteAlarmFinish(in IIntentSender sender, in WorkSource workSource, int sourceUid, in String tag);
    int getPackageProcessState(in String packageName, in String callingPackage);
    void updateDeviceOwner(in String packageName);
    int getUidProcessState(int uid, in String callingPackage);


    // Start of N transactions
    // Start Binder transaction tracking for all applications.
+2 −2
Original line number Diff line number Diff line
@@ -43,8 +43,6 @@ oneway interface IUidObserver {
     */
    void onUidIdle(int uid, boolean disabled);

    // =============== End of transactions used on native side as well ============================

    /**
     * General report of a state change of an uid.
     *
@@ -55,6 +53,8 @@ oneway interface IUidObserver {
     */
    void onUidStateChanged(int uid, int procState, long procStateSeq);

    // =============== End of transactions used on native side as well ============================

    /**
     * Report when the cached state of a uid has changed.
     * If true, a uid has become cached -- that is, it has some active processes that are