Making the parseAndAddDeepShortcut api private.

There is no need to expose this api. Missed the comment https://googleplex-android-review.git.corp.google.com/c/platform/packages/apps/Launcher3/+/17956680/comments/1c9b7443_cc54296d

Test: Tested manually on device.
Change-Id: If71e203f32a59fa59c406303411a37cba7b6c62e
This commit is contained in:
My Name
2022-04-28 05:11:01 +00:00
committed by Raj Garg
parent 2f5a1b6756
commit 9a6dbac68c

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),