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

Commit 0191a02a authored by Raj Garg's avatar Raj Garg Committed by Android (Google) Code Review
Browse files

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

parents d7a94086 9a6dbac6
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),