Fix for compaction partially bailing out compaction upon cancellation

When compaction if a cancel signal is received such as when unlocking
the phone, if the system was doing an anon compaction it will bail out
but then continue with the file compaction since it was not fully
bailing out from compaction computation.

Test: Manual
Bug: 227060330

Change-Id: I46bb784c1170808d9aa15757a108900e54175987
1 file changed