- Checking whether a stylus has a tail button key is not possible when
the device is cached, so assume that it does.
- Updated StylusDevicesControllerTest to use SwitchPreferenceCompat as
there were unrelated tests that were failing. The actual test that
would've caught the bug only started failing after the unrelated test
failures were fixed.
Bug: 311334474
Test: atest StylusDevicesControllerTest
Flag: N/A
Change-Id: Iee2899bf0a77a70f4a4f76833f485d511d919c40