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

Commit 1013f332 authored by Kevin Jeon's avatar Kevin Jeon
Browse files

Introduce remove_app_profiler_pss_collection flag

This change adds a flag config for android.os for replacing background
PSS collection in AppProfiler with RSS.

This flag config is added to the android.os package instead of
com.android.server.am because the feature will rely on a new Debug API.
Having the flag here allows it to be used for both @FlaggedApi in
android.os.Debug as well as for a runtime check in AppProfiler.

Test: Use a test change to check that the flag can be set and read from
      AppProfiler.
Bug: 297542292
Bug: 296454553
Change-Id: I7e145d9eea8bf47999cb533efd921c4fdc3baace
parent 33f8142f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6,3 +6,10 @@ flag {
    description: "Guards a new UserManager user restriction that admins can use to require cellular encryption on their managed devices."
    bug: "276752881"
}

flag {
    name: "remove_app_profiler_pss_collection"
    namespace: "android_platform_power_optimization"
    description: "Replaces background PSS collection in AppProfiler with RSS"
    bug: "297542292"
}