mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-07-02 18:49:36 +03:00
2d9299e513
In cases of corruption or version mismatch, we must be able to delete the database without loading anything from it. This comes up in testing when you run an older version of Shaka Player after a newer one has created the database. Our ability to erase the database in these cases was lost when we fixed #1277. This reverts that change and changes the contract of the storage classes to ensure that we will always be able to erase the database, no matter what. Change-Id: Iccfbe1fa2ca880877e4743e5ca6bd42cba44abe0