I encountered the same problem, but failed mounting the boot partition mentioned in other answers on my Mac OS.
However, I found the solution and pretty handy finally.
My Solution:
You can simply use Windows OS to mount the TF card with Android Things installed, because the Android Things disk image has a partition with FAT16 format named RPIBOOT containing the CONFIG.txt file which you can append 'lcd_rotate=2' in to resolve the upside down issue on the Raspberry Pi official 7 inch touchscreen.
Bonus:
You can adjust the display resolution in the CONFIG.txt as well, and somehow you would better do it. Otherwise, you will find the 800*480 initial resolution makes things much bigger than you expect if you want to develop some UI in you application, because the touchscreen actually is 7 inches with 240 DPI. The best resolution I got by testing is 1200*720. You can append 2 lines in the CONFIG.txt to make the display look nicer:
framebuffer_width=1200
framebuffer_height=720