Rather than relying on the model count (which broke when we added places categories), just identify the action by the data it is given.
BUG: 403454
dfaure |
Frameworks |
Rather than relying on the model count (which broke when we added places categories), just identify the action by the data it is given.
BUG: 403454
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
There seems to be one issue that when you open a mounted drive directly, you get an "Unmount" entry at the top.
Likely because the places are populated after the entry was created.
Perhaps the remove codepath needs to iterate all actions and check rather than assuming it's always the last place.