Add gating to the plugin

Change-Id: Ibbbd82046119a59c09bcda93decab5f331dbfcfa
4 files changed