I have had the same exact symptoms as everyone here so it may be for us all. Some Pixel 2 XL owners said some they were seeing screen flashes when locking and unlocking their smartphones.
The big problem appears to be the screen, which has been subject to reports of screen burn, usually a sign of a cheap display, a black smear on the screen, usually the sign of a cheap display and a bunch of other issues that are... usually the sign of a cheap display.
Some users of the Pixel 2 devices have complained that the phone's microphone does not work when making calls. A user said in the Pixel User Community forums that her Pixel 2 XL's screen would flash white when the device was unlocked, when the screen woke up to show notifications, when it locked by itself and when she manually locked it. Blowing into the speaker when the microphone is working causes it to fail. While there's no permanent solution to it, but a user named Adam Zeird has found a temporary fix. Blowing into the speaker like you would an old NES cartridge.More news: Packers cut TE Martellus Bennett with failure to disclose physical condition designation
More news: Ezekiel Elliott's 6-game suspension back on
More news: Danica Roem, Virginia's 1st transgender elected official, promises culture change in Richmond
It's safe to say that the Pixel 2 launch has been a complete disaster, with the two flagship models both subject to an excess of issues. Google earlier this week started rolling out a software update to fix hardware issues plaguing its Pixel 2 and Pixel 2 XL.
Google has acknowledged the issue and is offering RMAs (refunds or replacements) to customers facing the problem, 9to5Google reports. Doing this made my microphone work again and it continues to work when it goes out. This seemingly confirms that the screen flashing issue is related to software.
In addition to everything else that's already going on with the phone, it's now being reported that both the Pixel 2 and Pixel 2 XL are having trouble getting the Google Assistant to work when its prompted through a pair of Bluetooth headphones that can summon it.