Merge "Making the parseAndAddDeepShortcut api private." into tm-dev am: 0191a02a02 am: 06faf9b9a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17988066 Change-Id: I4e6f53994e2f04a3cf1d81e9a79a7ccfb70e60a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user