Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51d9b10c authored by Josh's avatar Josh
Browse files

dynamic shortcut label/icon retrieval for app launch shortcuts

Context: previously inputManager when returning custom default-app launch
shortcuts would send a key gesture type of the format
KEY_GESTURE_TYPE_LAUNCH_DEFAULT_[x]. Now these key gesture types have
been deprecated and inputManager will send
KEY_GESTURE_TYPE_LAUNCH_APPLICATION irrespective of the app shortcut.
Input manager will also send additional app launch data for these
shortcuts from which we can calculate the shortcut label/icon. I've
updated CustomShortcutCategoriesRepository's implementation of data
retrieval to reflect these updates.

Test: CustomShortcutCategoriesRepositoryTest
Test: InputGestureDataUtilsTest
Flag: com.android.systemui.keyboard_shortcut_helper_shortcut_customizer
Bug: 380231474
Change-Id: I3e4a0b1e769a90e3fe0978bcec779f24da0204ab
parent de6e17da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment