diff options
| author | 2025-01-22 15:56:21 +0900 | |
|---|---|---|
| committer | 2025-01-27 16:45:30 +0900 | |
| commit | d3736ae82ecea2313666a520941d3d32e8e2ae36 (patch) | |
| tree | 4fcaa7af8f2b35f27bebe6f1908a57bca5e2d1fb /libs/androidfw/AssetsProvider.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions