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
Loading
Please register or sign in to comment