mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add APP SessionTag
Add a SessionTag enum APP to distinguish hint sessions created by apps. Bug: b/274929700 Test: atest VtsHalPowerTargetTest Change-Id: I85263dc6b1b89f73f79f1a7696d37bf7fa2556ad
This commit is contained in:
@@ -38,4 +38,5 @@ enum SessionTag {
|
||||
SURFACEFLINGER,
|
||||
HWUI,
|
||||
GAME,
|
||||
APP,
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user