Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5de691cc authored by Søren Gjesse's avatar Søren Gjesse
Browse files

Make DocumentUI tests run with R8 enabled

The onFocusItem method was only used from the test. In the app itself it
was always overwritten, so R8 made it abstract. However that  broke the test
failing with an AbstractMethodError.

This fixes the issue with a method which is only referenced from then test
in the same was as was used before:

https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/DocumentsUI/+/3305625
https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/DocumentsUI/+/3293384

Test: atest com.android.documentsui.dirlist.KeyInputHandlerTest
Bug: 74746744
Change-Id: Idd91cfb17c90055399fcba601884e441504e85be
parent 72c2d06e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment