Revert "Fix folder location & ordinal for Crostini Apps on update"
This reverts commit aa28143d. Reason for revert: Sorry, I did not review this, let revert this one and discuss. I have few questions. I asked to add description in order to understand what you going to achieve. Let talk about possible solutions and reland new one. Original change's description: > Fix folder location & ordinal for Crostini Apps on update > > Currently, when updating an existing Crostini App, the > associated CrostiniAppItem's ordinal and folder id are not > preserved. This is because a new CrostiniAppItem is added > to replace the old one. This leads to icons which users > had previously removed from the Linux Apps folder to return > to the folder, for example. This CL saves the item ordinal > and folder id from the old app item, and re-sets them on > the new app item. > > This CL also changes process for inserting a newly > installed app so that it removes the app before adding > it. This is needed for the case that the user reformats > their Chromebook without uninstalling Crostini, which > leaves residual app info in their preferences. > > Bug: 822488 > Change-Id: Id7442c6563851ad4997578da65340a5c2eeef3f5 > Reviewed-on: https://chromium-review.googlesource.com/1150955 > Commit-Queue: Renée Wright <rjwright@chromium.org> > Reviewed-by: Steven Bennetts <stevenjb@chromium.org> > Cr-Commit-Position: refs/heads/master@{#578541} TBR=stevenjb@chromium.org,rjwright@chromium.org,khmel@chromium.org Change-Id: Idf60204ad9bb6cc6dc215537dcab5520649fbfa4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 822488 Reviewed-on: https://chromium-review.googlesource.com/1152273Reviewed-by:Yury Khmel <khmel@chromium.org> Commit-Queue: Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#578550}
Showing
Please register or sign in to comment