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

Commit 9a6dbac6 authored by My Name's avatar My Name Committed by Raj Garg
Browse files

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
parent 2f5a1b67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),