Google's upcoming Pixel 4 and Pixel 4 XL have been rumored to sport 90 Hz screens, through a report from about a month ago. And now this seems to have been confirmed by a comment in the Android 10 source code.
The ever-enterprising folks over at XDA Developers dug through the source of the newest Android release, which Google made public the other day, and found several intriguing commits relating to display refresh rate. One of these describes content-based fps detection, while another describes the implementation of an overlay that will show when the device is running at 60Hz vs 90Hz.
Now these in themselves wouldn't be proof that they're related to the Pixel 4 in any way, since Google constantly adds things to the AOSP code that accommodate the growing number of devices from many different OEMs. However, a comment left behind in a commit that has since been removed (but can still be viewed by going through the history) makes things quite clear.
Here's what it's about. The code in question adds an enable/disable flag to toggle the 90Hz mode, and it's only intended to be used temporarily until the proper solution is implemented (which happened not long afterwards). But the main takeaway is this: "The switch in settings should only be available to P19 devices". P for Pixel, 19 for the year... and you get the point.
Through some more digging, it became clear that Google intends to expose the refresh rate overlay as a Developer Option. The overlay will be shown under the clock in the status bar, as a rectangle that's red for 60Hz and green for 90Hz. This will be handy if you ever want to check whether an app is running at 90Hz or not. Finally, Google also wants to detect when a video is playing so the Pixel 4 can automatically adjust the refresh rate.
The Pixel 4 is expected to arrive with a 5.7-inch 1080p+ OLED panel, while the Pixel 4 XL should get a 6.3-inch 1440p+ screen. The smaller model is to have a 2,800 mAh battery, with the XL version touting 3,700 mAh instead. Both should have the Snapdragon 855 chipset and 6GB of RAM, and of course run Android 10 from day one.
We're also getting dual rear cameras for the first time in the Pixel line, with the secondary sensor being a 16 MP telephoto. On the front the top bezel will be large in order to house Face ID-like hardware and a Soli radar for Motion Sense air gestures.