Good cameras are common with any decent Android phone now. The camera in my Moto E4 compares well with my favorite teensy sensor P&S digicam, the Ricoh GR4. Ditto my Olympus Tough Cam. For JPEgs they have very comparable image quality, including dynamic range and noise control at high ISO. The main advantages to the Ricoh are better ergonomics and the option for shooting raw files. Lots of good editing apps for smartphones but most are modifying JPEGs, so there's always some additional loss of image quality.