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

Commit 93be8227 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make onBeforeUserSwitching calls synchronous." into main

parents af23c6cd 46880bdb
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -19,10 +19,10 @@ package android.app;
import android.os.IRemoteCallback;

/** {@hide} */
oneway interface IUserSwitchObserver {
interface IUserSwitchObserver {
    void onBeforeUserSwitching(int newUserId);
    void onUserSwitching(int newUserId, IRemoteCallback reply);
    void onUserSwitchComplete(int newUserId);
    void onForegroundProfileSwitch(int newProfileId);
    void onLockedBootComplete(int newUserId);
    oneway void onUserSwitching(int newUserId, IRemoteCallback reply);
    oneway void onUserSwitchComplete(int newUserId);
    oneway void onForegroundProfileSwitch(int newProfileId);
    oneway void onLockedBootComplete(int newUserId);
}