Set default value for rank field in launcher logs to ItemInfo.rank.
Bug: 188222480 Test: wwdebug & wwlogcat Change-Id: I16786eb2e6f1d4ce44dbda5eff27b1cd7f50ee8e
This commit is contained in:
parent
44fcfa5bfd
commit
24fbda5448
|
@ -374,6 +374,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