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

Commit 2470e479 authored by Li Li's avatar Li Li
Browse files

task_profiles.json: use cgroup v2 uid/pid freezer

Bug: 184800106
Bug: 184893012
Test: Verify the app status in frozen and unfrozen states.

Change-Id: Ic27529d71839076a0ac816383b52ec28c5d17be5
parent 05e6076c
Loading
Loading
Loading
Loading
+6 −32
Original line number Original line Diff line number Diff line
@@ -70,11 +70,11 @@
      "Name": "Frozen",
      "Name": "Frozen",
      "Actions": [
      "Actions": [
        {
        {
          "Name": "JoinCgroup",
          "Name": "SetAttribute",
          "Params":
          "Params":
          {
          {
            "Controller": "freezer",
            "Name": "FreezerState",
            "Path": ""
            "Value": "1"
          }
          }
        }
        }
      ]
      ]
@@ -83,11 +83,11 @@
      "Name": "Unfrozen",
      "Name": "Unfrozen",
      "Actions": [
      "Actions": [
        {
        {
          "Name": "JoinCgroup",
          "Name": "SetAttribute",
          "Params":
          "Params":
          {
          {
            "Controller": "freezer",
            "Name": "FreezerState",
            "Path": "../"
            "Value": "0"
          }
          }
        }
        }
      ]
      ]
@@ -558,32 +558,6 @@
        }
        }
      ]
      ]
    },
    },
    {
      "Name": "FreezerDisabled",
      "Actions": [
        {
          "Name": "SetAttribute",
          "Params":
          {
            "Name": "FreezerState",
            "Value": "0"
          }
        }
      ]
    },
    {
      "Name": "FreezerEnabled",
      "Actions": [
        {
          "Name": "SetAttribute",
          "Params":
          {
            "Name": "FreezerState",
            "Value": "1"
          }
        }
      ]
    }
  ],
  ],


  "AggregateProfiles": [
  "AggregateProfiles": [