It may be DXOMark’s highest scoring mobile device camera ever, but the Google Pixel is not without its photographic flaws. Quite a few users have reported getting flare or “halo effect” issues with their camera when it’s not even in the shot. The thing with lens flare, though, is that it’s a physical hardware issue. This is why DSLR and mirrorless lenses come with hoods. They block the light from entering the lens and reflecting inside the optics causing flare.
While Google acknowledge that the problem exists, and will be addressing it, they are combating this hardware problem with a software solution. The general idea will be that some algorithm will recognise the flare, and then mathematically subtract it from the image. So, it’s not really eliminating the flare, just faking its removal in software.