Merge "Set default value for rank field in launcher logs to ItemInfo.rank." into sc-v2-dev
This commit is contained in:
commit
ed6cbbc9a6
|
@ -376,6 +376,7 @@ public class ItemInfo {
|
|||
protected LauncherAtom.ItemInfo.Builder getDefaultItemInfoBuilder() {
|
||||
LauncherAtom.ItemInfo.Builder itemBuilder = LauncherAtom.ItemInfo.newBuilder();
|
||||
itemBuilder.setIsWork(!Process.myUserHandle().equals(user));
|
||||
itemBuilder.setRank(rank);
|
||||
return itemBuilder;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue