commit | d3736ae82ecea2313666a520941d3d32e8e2ae36 | [log] [tgz] |
---|---|---|
author | Shintaro Kawamura <kawasin@google.com> | Wed Jan 22 15:56:21 2025 +0900 |
committer | Shintaro Kawamura <kawasin@google.com> | Mon Jan 27 16:45:30 2025 +0900 |
tree | 4fcaa7af8f2b35f27bebe6f1908a57bca5e2d1fb | |
parent | 4c27cb4bcd44906f3f6310cff5e6cfdb45e21583 [diff] |
Check isZramMaintenanceSupported on ZramMaintenance Sending doZramMaintenanceAsync() request to mmd on the devices which does not support zram writeback and zram recompression is useless. Check the zram status before the first doZramMaintenanceAsync() and stop the job scheduler loop of ZramMaintenance if the device does not support zram maintenance. Bug: 375432472 Test: atest FrameworksServicesTests:ZramMaintenanceTest Change-Id: Idc76bae87f6f974a6c276cd030135b050d444dc1