public final class ActivityStackSupervisor extends Object implements DisplayManager.DisplayListener
Constructor and Description |
---|
ActivityStackSupervisor(ActivityManagerService service) |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter pw,
String prefix) |
List<IBinder> |
getTopVisibleActivities() |
void |
onDisplayAdded(int displayId)
Called whenever a logical display has been added to the system.
|
void |
onDisplayChanged(int displayId)
Called whenever the properties of a logical display have changed.
|
void |
onDisplayRemoved(int displayId)
Called whenever a logical display has been removed from the system.
|
public ActivityStackSupervisor(ActivityManagerService service)
public void dump(PrintWriter pw, String prefix)
public void onDisplayAdded(int displayId)
DisplayManager.DisplayListener
DisplayManager.getDisplay(int)
to get more information about
the display.onDisplayAdded
in interface DisplayManager.DisplayListener
displayId
- The id of the logical display that was added.public void onDisplayRemoved(int displayId)
DisplayManager.DisplayListener
onDisplayRemoved
in interface DisplayManager.DisplayListener
displayId
- The id of the logical display that was removed.public void onDisplayChanged(int displayId)
DisplayManager.DisplayListener
onDisplayChanged
in interface DisplayManager.DisplayListener
displayId
- The id of the logical display that changed.