While working on ENG-7667, I spent some time reviewing this logic in SQLiteDataHandler on native. I found that the use of these methods might be more clear with a better name.
My mental model for it is:
- A SQLite database is "stamped" once a user logs in
- If a SQLite database is "stamped" with a given user ID, then it will deleted as soon as that user is not the current user