Revert "Fix docs build after switch to CorePlatformApi"

This reverts commit e2b89e4b641c7fe51d54f1616c4feb902733232e.

Bug: 117831958
Test: m docs succeeded with the next CL
Change-Id: Ib5178c30cb54b4648235efe778d66b1bf865f114
2 files changed