Skip rmdex when ART Service is in use.

There's no suitable API that can delete optimized artifacts relative to
an arbitrary APK path, so we'll rely on the ART Service file GC
instead. This means some regression as stale artifacts get deleted a
bit later than before.

Test: atest CtsCompilationTestCases
Bug: 251903639
Change-Id: Iae7ebbd891fbe58e40539ba34077320093e52924
1 file changed