docs: int getThreadDefaultConnectionFlags(boolean readOnly) {
          int flags = readOnly ? SQLiteConnectionPool.CONNECTION_FLAG_READ_ONLY :
                  SQLiteConnectionPool.CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY;
          if (isMainThread()) {
              flags |= SQLiteConnectionPool.CONNECTION_FLAG_INTERACTIVE;
          }
          return flags;
      }