flatpak: Set no-interaction option on transaction where possible
The final release of flatpak 1.7.3 contained a new
flatpak_transaction_set_no_interaction()
API which allows the
interactivity state to be set on the transaction, rather than on the
installation.
This commit reworks commit ebbd1b2d (!283 (merged)) to use the new API where possible. It doesn’t bump gnome-software’s hard dependency on flatpak. It’s a (future) code cleanup more than a behaviour change.
Signed-off-by: Philip Withnall withnall@endlessm.com