Nonsense.
Most of any megapixel advantage is given away by jpeg compression.
An uncompressed 4 MP picture results in a 24 MB file. 48 MB for 8 MP and so forth.
Next time you think megapixels matter, look at your picture files that are 1 or 2 MB in size and ask yourself, where did the rest of the picture quality information go?
Remember - jpeg compression is lossy - it's nothing like a lossless zip file on a pc.
HTC gave in to marketing pressure.
Marketing does not dictate light physics even though some people in sales have convinced themselves that they do.
The first limiter to picture quality is the lens.
The second is sensor size.
The third is sensor noise.
The fourth is sensor processing and jpeg compression.
Color processing - where your eyes get far more information than dots per inch, are all affected by the above.
Coming in, dead last place, are megapixels.
And with the level of jpeg compression in the mobile world, only click-bait phone reviewers and marketing departments actually believe that megapixels matter.
Hope this helps.