Do not set Notetaking shortcut to default if Stylus is not detected
The current implementation set Notetaking shortcut as default in the keyguard for any device that contains Note Role - besides being able to manually add to the lock-screen, we should only set it as default whew a Stylus is detected (i.e., touch the screen or has been paired). Testing instructions: 1. The device supports Note Task (i.e., tablets). 2. A Stylus. 3. Note Task feature flag is enabled: `adb shell cmd statusbar flag 1900 on` 4. Quick Affordance flag is enabled: `adb shell cmd statusbar flag 216 on` 5. Quick Affordance new UI flag is enabled: `adb shell cmd statusbar flag 222 on` Test: atest SystemUITests:NoteTaskQuickAffordanceConfigTest Fixes: b/265949213 Change-Id: I28d14ad2cc22b8d86434a6843df5358cfe9b089e
Loading
Please register or sign in to comment