commit | 67daf300e201d0eb00a804201f1c58099ca1c786 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Mon Dec 13 19:07:36 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Dec 13 19:07:36 2021 +0000 |
tree | 0bd1fd1728838506297471dde91be276980c0603 | |
parent | 86be069897e8c1497602ddea635bec1a539f7bec [diff] | |
parent | ed6cbbc9a62d8b9617c39886bab45ea1f6fcf49c [diff] |
Merge "Set default value for rank field in launcher logs to ItemInfo.rank." into sc-v2-dev am: ed6cbbc9a6 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16360368 Change-Id: Ic15c841f299bd8d14d3c7c4352ad9d76fdecaa04
diff --git a/src/com/android/launcher3/model/data/ItemInfo.java b/src/com/android/launcher3/model/data/ItemInfo.java index e30829e..1e8e3ca 100644 --- a/src/com/android/launcher3/model/data/ItemInfo.java +++ b/src/com/android/launcher3/model/data/ItemInfo.java
@@ -376,6 +376,7 @@ protected LauncherAtom.ItemInfo.Builder getDefaultItemInfoBuilder() { LauncherAtom.ItemInfo.Builder itemBuilder = LauncherAtom.ItemInfo.newBuilder(); itemBuilder.setIsWork(!Process.myUserHandle().equals(user)); + itemBuilder.setRank(rank); return itemBuilder; }