ActivityManagerAppTaskWindowingLayer Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies windowing layers requested for application tasks.
public enum ActivityManagerAppTaskWindowingLayer
type ActivityManagerAppTaskWindowingLayer =
- Inheritance
-
ActivityManagerAppTaskWindowingLayer
Fields
| Name | Value | Description |
|---|---|---|
| Undefined | 0 | The windowing layer is not specified. The system will use a WINDOWING_LAYER_NORMAL_APP layer. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NormalApp | 1 | The windowing layer for normal application windows. If an application does not explicitly request a windowing layer for its task, it is considered to be in this layer. Requesting this layer using AppTask.requestWindowingLayer is typically done to exit a previously requested layer. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Pinned | 2 | The windowing layer for pinned windows. These windows are typically displayed above normal application windows. To ensure system integrity and a consistent user experience, the system imposes several restrictions on tasks using this layer. These may include, but are not limited to:
This layer might be shared with Picture-in-Picture (PiP) tasks; therefore, tasks on this layer might be dismissed when another enters PiP. The task's window on this layer has the following requirements:
Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
The system can reject a layer request or impose restrictions on a task in the requested layer.