Replacing some fixed lookup flags with specific constant flag
This would make it easier to customize flags used on desktop icons Bug: 366237794 Flag: EXEMPT refactor Test: atest CacheLookupFlagTest Change-Id: I0f3f04ddbe73abea207a5b58a65714ff172b2726
This commit is contained in:
@@ -96,7 +96,7 @@ public class PredictionUpdateTask implements ModelUpdateTask {
|
||||
itemInfo = apps.data.stream()
|
||||
.filter(info -> user.equals(info.user) && cn.equals(info.componentName))
|
||||
.map(ai -> {
|
||||
app.getIconCache().getTitleAndIcon(ai, DEFAULT_LOOKUP_FLAG);
|
||||
app.getIconCache().getTitleAndIcon(ai, mPredictorState.lookupFlag);
|
||||
return ai.makeWorkspaceItem(context);
|
||||
})
|
||||
.findAny()
|
||||
|
||||
Reference in New Issue
Block a user