summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-03-12 03:39:07 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-03-12 03:39:07 +0000
commitc688e204e10c4b60afe15efa2f3d3f5efd7ae6a6 (patch)
tree34965d67d37dc4da1fad71316cfefb540e50ce53
parent97363dce3c74071830fd61a67ff1a7b5bb832f01 (diff)
parent021faf9d191e2cc7f645f45285143a6832ef0434 (diff)
Merge "Remove misleading comments" into rvc-dev
-rw-r--r--core/java/android/content/pm/ShortcutInfo.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/java/android/content/pm/ShortcutInfo.java b/core/java/android/content/pm/ShortcutInfo.java
index 49e8c052cbca..af875787bba6 100644
--- a/core/java/android/content/pm/ShortcutInfo.java
+++ b/core/java/android/content/pm/ShortcutInfo.java
@@ -1558,11 +1558,6 @@ public final class ShortcutInfo implements Parcelable {
* "Rank" of a shortcut, which is a non-negative, sequential value that's unique for each
* {@link #getActivity} for each of the two types of shortcuts (static and dynamic).
*
- * <p>Because static shortcuts and dynamic shortcuts have overlapping ranks,
- * when a launcher app shows shortcuts for an activity, it should first show
- * the static shortcuts, followed by the dynamic shortcuts. Within each of those categories,
- * shortcuts should be sorted by rank in ascending order.
- *
* <p><em>Floating shortcuts</em>, or shortcuts that are neither static nor dynamic, will all
* have rank 0, because they aren't sorted.
*