Then it was whatever was unpacking it that made it sound like hot garbage.
Like any lossless compression algorithm. FLAC does not throw away ANY information that is relevant meaning that what ever is in the FLAC container is what was originally in whatever media was compressed into the flac container be it SACD, master recording etc. This applies to
APE
Apple Lossless
Microsoft WMA Lossless
and every other lossless compression algorithm.
With that said, On Android and Windows, if using built in Android calls or Window methods for audio playback (read built in audio player), the resolution will be downgraded to 16/44.1khz. Both operating systems require custom functions and programming to allow bit for bit playback at the captured bit rate (say 24/192 or DSD512).
See iBasso and Astrell & Krell for said limitation bypass on Android (both of their audio players are custom created in house). Other players are available through the google play store to allow said capabilities also.