| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
package android.app; |
| 18 |
|
| 19 |
import android.compat.annotation.UnsupportedAppUsage; |
| 20 |
import android.os.IRemoteCallback; |
| 21 |
import android.os.RemoteException; |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
public class UserSwitchObserver extends IUserSwitchObserver.Stub { |
| 27 |
|
| 28 |
@UnsupportedAppUsage |
| 29 |
public UserSwitchObserver() { |
| 30 |
} |
| 31 |
|
| 32 |
@Override |
| 33 |
public void onUserSwitching(int newUserId, IRemoteCallback reply) throws RemoteException { |
| 34 |
if (reply != null) { |
| 35 |
reply.sendResult(null); |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
@Override |
| 40 |
public void onUserSwitchComplete(int newUserId) throws RemoteException {} |
| 41 |
|
| 42 |
@Override |
| 43 |
public void onForegroundProfileSwitch(int newProfileId) throws RemoteException {} |
| 44 |
|
| 45 |
@Override |
| 46 |
public void onLockedBootComplete(int newUserId) throws RemoteException {} |
| 47 |
} |