Fix for new compactions skipped after cancelling pending compactions
When new compactions are scheduled they are added to the pending
compaction process list however, they also maintain a flag that
indicates whether a compaction is pending on the record, previously,
when cancelling compactions we would remove the process from the list
but not clear the flag, leaving the process in an uncompactable state
as it would be skipped from being scheduled thinking there was a
compaction happening when there wasn't any.
Bug: 227502250
Test: Manual. Logging and dumpsys activity
Change-Id: Id9d712bd14ba83c4d647d3e9faa88e4ddbd1b697
1 file changed