Loading core/java/com/android/server/SystemService.java +0 −54 Original line number Diff line number Diff line Loading @@ -193,58 +193,4 @@ public abstract class SystemService { private SystemServiceManager getManager() { return LocalServices.getService(SystemServiceManager.class); } // /** // * Called when a new user has been created. If your service deals with multiple users, this // * method should be overridden. // * // * @param userHandle The user that was created. // */ // public void onUserCreated(int userHandle) { // } // // /** // * Called when an existing user has started a new session. If your service deals with multiple // * users, this method should be overridden. // * // * @param userHandle The user who started a new session. // */ // public void onUserStarted(int userHandle) { // } // // /** // * Called when a background user session has entered the foreground. If your service deals with // * multiple users, this method should be overridden. // * // * @param userHandle The user who's session entered the foreground. // */ // public void onUserForeground(int userHandle) { // } // // /** // * Called when a foreground user session has entered the background. If your service deals with // * multiple users, this method should be overridden; // * // * @param userHandle The user who's session entered the background. // */ // public void onUserBackground(int userHandle) { // } // // /** // * Called when a user's active session has stopped. If your service deals with multiple users, // * this method should be overridden. // * // * @param userHandle The user who's session has stopped. // */ // public void onUserStopped(int userHandle) { // } // // /** // * Called when a user has been removed from the system. If your service deals with multiple // * users, this method should be overridden. // * // * @param userHandle The user who has been removed. // */ // public void onUserRemoved(int userHandle) { // } } Loading
core/java/com/android/server/SystemService.java +0 −54 Original line number Diff line number Diff line Loading @@ -193,58 +193,4 @@ public abstract class SystemService { private SystemServiceManager getManager() { return LocalServices.getService(SystemServiceManager.class); } // /** // * Called when a new user has been created. If your service deals with multiple users, this // * method should be overridden. // * // * @param userHandle The user that was created. // */ // public void onUserCreated(int userHandle) { // } // // /** // * Called when an existing user has started a new session. If your service deals with multiple // * users, this method should be overridden. // * // * @param userHandle The user who started a new session. // */ // public void onUserStarted(int userHandle) { // } // // /** // * Called when a background user session has entered the foreground. If your service deals with // * multiple users, this method should be overridden. // * // * @param userHandle The user who's session entered the foreground. // */ // public void onUserForeground(int userHandle) { // } // // /** // * Called when a foreground user session has entered the background. If your service deals with // * multiple users, this method should be overridden; // * // * @param userHandle The user who's session entered the background. // */ // public void onUserBackground(int userHandle) { // } // // /** // * Called when a user's active session has stopped. If your service deals with multiple users, // * this method should be overridden. // * // * @param userHandle The user who's session has stopped. // */ // public void onUserStopped(int userHandle) { // } // // /** // * Called when a user has been removed from the system. If your service deals with multiple // * users, this method should be overridden. // * // * @param userHandle The user who has been removed. // */ // public void onUserRemoved(int userHandle) { // } }