Taran Singh
1ec8dff6d6
[Settings] Make scribe setting default_on and secure
...
1. Migrate scribe pref to Settings.Secure
2. Consider enabled when not set.
Bug: 272376168
Test: atest StylusDevicesControllerTest StylusHandwritingPreferenceControllerTest.java
Change-Id: I4973a93c2cfe8c44f461b68fbda1a853e49340a2
2023-03-10 18:31:03 +00:00
Vania Januar
7584bbc015
Invert STYLUS_BUTTONS_DISABLED to avoid double negatives.
...
Test: StylusDevicesControllerTest
Bug: 267595764
Change-Id: I9f74aaf064eb08d4abb6800d59ee3c224f9793b8
2023-02-02 12:13:39 +00:00
Vania Januar
e0da6513dc
Merge "Show Scribe toggle in Stylus settings only if supported by current IME."
2023-01-23 13:30:42 +00:00
Vania Januar
5b52104be1
Show Scribe toggle in Stylus settings only if supported by current IME.
...
This also sends the user to the Scribe settings activity if
a settings activity exists for the current IME.
Bug: 255732419
Test: StylusDevicesControllerTest
Change-Id: I955a0f5a017b247e7623d66613e09dc0f7256ff2
2023-01-10 17:44:14 +00:00
Vania Januar
ce93c656aa
Show None default app in stylus preference if no Notes holder.
...
This also fixes the role holder not updating when the
default role holder has changed.
Test: StylusDevicesControllerTest
Bug: 254834764
Change-Id: Iec7ed7698f18279da9a04918dcdf3e20e73609d1
2023-01-06 11:25:35 +00:00
Vania Januar
e5651cd86e
Replace placeholder ROLE_ASSISTANT with ROLE_NOTES.
...
Bug: 254834764
Test: StylusDevicesController
Change-Id: I2303034180f9609db8f1a6d663c389a55dd04600
2023-01-04 16:22:38 +00:00
Vania Januar
57822a67a8
Pass CachedBluetoothDevice into StylusDevicesController.
...
Styluses can now be identified using the newly added DEVICE_TYPE_STYLUS
metadata.
Bug: 251200056
Test: StylusDevicesControllerTest
Change-Id: Ie89f6419cd16ed97299944b35497c6b2ee764dab
2022-12-29 12:31:31 +00:00
Vania Januar
259dec18b2
Toggle for disabling stylus buttons.
...
This change enables users to disable stylus button
pressed from the Stylus Connected Device details Settings page.
Bug: b/251199452
Test: StylusDevicesControllerTest
Change-Id: I807ef8d5a56c2177037dcb527630d8bfb8f86f7c
2022-11-30 16:08:20 +00:00
Vania Januar
2df165a58a
Add a stylus controller to Bluetooth Device Details.
...
Feature is currently flagged behing SETTINGS_SHOW_STYLUS_PREFERENCES.
Bug: 251201006
Test: SettingsRoboTests StylusDevicesControllerTest
DD: go/stylus-connected-devices-doc
Change-Id: I438b7fe5ca1c94f9dfb506c8918d0e6cb005ca33
2022-11-30 16:06:14 +00:00