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

Commit 5189925e authored by Peiyong Lin's avatar Peiyong Lin
Browse files

Add APP SessionTag

Add a SessionTag enum APP to distinguish hint sessions created by apps.

Bug: b/274929700
Test: atest VtsHalPowerTargetTest
Change-Id: I85263dc6b1b89f73f79f1a7696d37bf7fa2556ad
parent 1b5d9fea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -38,4 +38,5 @@ enum SessionTag {
  SURFACEFLINGER,
  HWUI,
  GAME,
  APP,
}
+10 −2
Original line number Diff line number Diff line
@@ -30,12 +30,20 @@ enum SessionTag {
    SURFACEFLINGER,

    /**
     * This tag is used to mark HWUI hint sessions.
     * This tag is used to mark hint sessions created by HWUI.
     */
    HWUI,

    /**
     * This tag is used to mark Game hint sessions.
     * This tag is used to mark hint sessions created by applications that are
     * categorized as games.
     */
    GAME,

    /**
     * This tag is used to mark the hint session is created by the application.
     * If an applications is categorized as game, then GAME should be used
     * instead.
     */
    APP,
}