Create the Note Task shortcut using the SystemUI Context

By using the SystemUI Context to create the shortcut, we allow SystemUI to manipulate the shortcut and apply updates such as enabling or disabling the shortcut, or even updating the app badge override package.

Test: manual

Fixes: b/278724068
Change-Id: I926a775923528aacfaf9b62141234b770f381c79
This commit is contained in:
Marcello Galhardo
2023-04-18 16:11:55 +00:00
parent c054498357
commit 0061d4093a
4 changed files with 33 additions and 19 deletions

View File

@@ -12058,5 +12058,5 @@
<string name="dock_multi_instances_not_supported_text">"This app can only be opened in 1 window"</string>
<!-- [CHAR LIMIT=30] Label used to open Note Task -->
<string name="note_task_button_label">Notetaking</string>
<string name="note_task_shortcut_label">Note shortcut</string>
</resources>