Improvements on CtsPreferenceTestCases:
- Dump bitmaps when they fail.
- Also log what exactly failed.
- Disable tests that require portrait mode when the device doesn't support them.
- Added an overloaded BitmapUtils.compareBitmaps() method that is more lenient.
Also added secondary user artifacts form CtsAutofillTestCases (not exactly related,
but it saves one TreeHugger run :-)
Bug: 134080964
Fixes: 133520564
Test: atest CtsPreferenceTestCases # on automotive and Pixel 3 phone
Merged-In: I20d8fe813396986a434ea298aefe3bf7b9807a47
Change-Id: I20d8fe813396986a434ea298aefe3bf7b9807a47
10 files changed