Fix not able to add Settings shortcut widget problem
After users select a shortcut item in CreateShortcutActivity, launchers need to get result from CreateShortcutActivity. For large screen devices, Settings deep link will start DeepLinkHomepageActivity and then DeepLinkHomepageActivity starts the deep link page. The CreateShortcutActivity result deos not forward to launcher and there is no shortcut added. This change uses Intent.FLAG_ACTIVITY_FORWARD_RESULT to forward result from CreateShortcutActivity to launcher. Bug: 200889769 Test: manual Long click launcher -> Widget -> Settings -> select an item and check if it adds a short on launcher. Change-Id: Idd5fc642be5c1fb2f747316c3ddcd9b7f0b33852
Loading
Please register or sign in to comment