Merge "Making the parseAndAddDeepShortcut api private." into tm-dev

This commit is contained in:
Raj Garg 2022-04-28 09:58:37 +00:00 committed by Android (Google) Code Review
commit 0191a02a02
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class DefaultLayoutParser extends AutoInstallsLayout {
* This method parses and adds a deep shortcut.
* @return item id if the shortcut is successfully added else -1
*/
public int parseAndAddDeepShortcut(String shortcutId, String packageName) {
private int parseAndAddDeepShortcut(String shortcutId, String packageName) {
try {
LauncherApps launcherApps = mContext.getSystemService(LauncherApps.class);
launcherApps.pinShortcuts(packageName, Collections.singletonList(shortcutId),