aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2017-02-08 15:00:04 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-09 21:30:49 -0800
commit0e7d8993a2c1a21b08f7d0525bf101ce6fb15fcd (patch)
tree7f1f0ad52ac5bd59f0fa76ce7dca583357c6756f /packaging/android
parente2bbd0ceecff7193bb272430fbebfc4b02dd67c3 (diff)
downloadsubsurface-0e7d8993a2c1a21b08f7d0525bf101ce6fb15fcd.tar.gz
Make cylinder merging a bit more careful
This makes some further updates to the new cylinder merging code: - avoid re-using the cylinder if the usage type (OC/diluent/O2) is different between the two dives, even if the gasmix might be the same. - avoid re-using a cylinder if the user has manually added pressure data for it (and the pressures don't match) - when deciding to reuse a cylinder, make sure that we merge as much of the type information as makes sense. This will potentially result in more cylinders that might need manual cleanup, but at least we won't be throwing out user data. And in most cases where merging happens, none of this is an issue (because the data comes fresh from a dive computer, and won't have been manually edited to trigger the new rules). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'packaging/android')
0 files changed, 0 insertions, 0 deletions