Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Merge "Power: add a DISPLAY_CHANGE mode" into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Shiu authored and Android (Google) Code Review committed Oct 3, 2023
2 parents cc29bdd + 4206d28 commit e5b8c16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ enum Mode {
CAMERA_STREAMING_HIGH,
GAME,
GAME_LOADING,
DISPLAY_CHANGE,
}
11 changes: 6 additions & 5 deletions power/aidl/android/hardware/power/Mode.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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,
}

0 comments on commit e5b8c16

Please sign in to comment.