Merge "Power: add a DISPLAY_CHANGE mode" into main
This commit is contained in:
commit
e5b8c16f7d
2 changed files with 7 additions and 5 deletions
|
@ -51,4 +51,5 @@ enum Mode {
|
|||
CAMERA_STREAMING_HIGH,
|
||||
GAME,
|
||||
GAME_LOADING,
|
||||
DISPLAY_CHANGE,
|
||||
}
|
||||
|
|
|
@ -133,11 +133,6 @@ enum Mode {
|
|||
*/
|
||||
DISPLAY_INACTIVE,
|
||||
|
||||
/**
|
||||
* Below hints are currently not sent in Android framework but OEM might choose to
|
||||
* implement for power/perf optimizations.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This mode indicates that low latency audio is active.
|
||||
*/
|
||||
|
@ -172,4 +167,10 @@ enum Mode {
|
|||
* This mode indicates that the user is waiting for loading in a game.
|
||||
*/
|
||||
GAME_LOADING,
|
||||
|
||||
/**
|
||||
* This mode indicates that the display layout is changing due to rotation
|
||||
* or switching between inner and outer panels.
|
||||
*/
|
||||
DISPLAY_CHANGE,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue