Clear Accessibility caches once not needed

This ensures that caches in AccessibilityInteractionClient are cleared
as soon as they are not needed, without having to wait for the render
session to be disposed.

Bug: 312996644
Test: tests updated
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aae8dd05cf194f568350253fa49b88dde39b4990)
Merged-In: I1280faa5a983a395099e7549da82448a46540108
Change-Id: I1280faa5a983a395099e7549da82448a46540108
5 files changed