Merge "Deprecate `setDatabaseEnabled` and `getDatabaseEnabled`" into main