diff options
| author | 2023-12-07 13:44:24 +0530 | |
|---|---|---|
| committer | 2024-02-07 00:16:08 +0000 | |
| commit | 71c58ea04173bef119722b0c73e6e83ff5967d58 (patch) | |
| tree | 984a294865b2c95f7be718aaf3d9f5c4626d373f /opengl/java | |
| parent | 6eab2a5f2fda925eb3c6a8df3cb22d2a7842025f (diff) | |
Stylus: Introduce Show Stylus Hover Pointer Setting (1/2)
Currently, the stylus hover icon can only be shown when
config_enableStylusPointerIcon is set to true. This means that the
users do not have a choice of turning the feature on or off.
This CL introduces the capability to do the same. This CL introduces
a new Secure Setting, STYLUS_POINTER_ICON_ENABLED which can be used to
turn on/off this feature.
Test: manual
Steps:
1. Change the value of config_enableStylusPointerIcon as true.
2. Build the images and flash it to a stylus supporting device.
3. After the device is booted, hover over the screen, the stylus
pointer should appear.
4. Go to Settings > Connected Devices > Stylus and tap on
"Show pointer while hovering" toggle.
5. Try hovering over the screen, check no pointer icon is shown
6. Repeat Step#4, check that stylus pointer appears.
Run
- make RunSettingsRoboTests \
ROBOTEST_FILTER=StylusDevicesControllerTest
- atest SettingsProviderTest
Change-Id: Ie4a0e708ba2e5f9b95f9a4ebd96786e64d9c30cd
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions