Skip to content
Commit 50db6657 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Adding newlyConnectedKeyboard flow to KeyboardRepository

newlyConnectedKeyboard emits new physical Keyboards that are connected to the device.

Other changes:
1. Because keyboardConnected starts to be confusing now, I renamed it to isAnyKeyboardConnected.
2. Extracting  inputDeviceListener flow to separate shared flow so that both newlyConnectedKeyboard and isAnyKeyboardConnected can use it without each registering their own listener.
3. Commenting KeyboardRepository flows
4. Adding tests for newlyConnectedKeyboard

Flag: KEYBOARD_EDUCATION
Bug: 277192620
Test: KeyboardRepositoryTest
Change-Id: I61044362a4e924d80546ae92300844280174db00
parent f6adbe0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment