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
Loading
Please register or sign in to comment