Adds toggle public functionality

Change-Id: I56c6e47e6c1d2fb0931e4f22f13f19c0b15b7682
partially-Implements: blueprint show-is-public-to-package-definitions
Merge "Adds toggle public functionality"