Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae386340 authored by Wei Wang's avatar Wei Wang
Browse files

Power: add a generic game mode



Test: Boot
Bug: 201769701
Bug: 214405108
Signed-off-by: default avatarWei Wang <wvw@google.com>
Change-Id: I4da5821bb0ed135d467146babe03863145e42435
parent 2bee6043
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -49,5 +49,6 @@ enum Mode {
  CAMERA_STREAMING_LOW = 12,
  CAMERA_STREAMING_MID = 13,
  CAMERA_STREAMING_HIGH = 14,
  GAME_LOADING = 15,
  GAME = 15,
  GAME_LOADING = 16,
}
+5 −0
Original line number Diff line number Diff line
@@ -163,6 +163,11 @@ enum Mode {
     */
    CAMERA_STREAMING_HIGH,

    /**
     * This mode indicates that user is playing a game.
     */
    GAME,

    /**
     * This mode indicates that the user is waiting for loading in a game.
     */