Limit Flow API to only respond on enabled pages

Bug: 60309
Change-Id: I2b5729bca56d7d98b83388a80459b56af8c19f12
Merge "Limit Flow API to only respond on enabled pages"