create
Creates a SqliteDebugTab.
Parameters
the databases to show, in this order, before the discovered ones.
a context of the app, to show the other database files in its databases and noBackupFilesDir directories too, read-only, or null to show only databases. A file is named by its file name; a file in noBackupFilesDir whose name a registration or a file in databases already has is no_backup/<file name>. The tab lists the directories on each request, so it also finds a file that the app creates later. It leaves out a file that one of databases stands for, SQLite's journal, WAL, and lock files, and a file that is not a SQLite database. The platform's SQLite checks a file that the process holds open; the tab reads the header of any other file itself, so that SQLite does not write a part of a file that is not a database, such as one with tokens, to logcat. Leave discovery off when a directory has a database that the app opens with another copy of SQLite, as SqliteDb.file says.
Throws
when two of databases have the same name, or two SqliteDb.file databases the same file. The tab does not know the file of a live handle before it reads, so it can't check those: register each file once.