Revert "Revert "Example for disabling changes at test time""

This reverts commit 64d5222a95413f9872d2e4845771e2765353c08a.

Reason for revert: Fixed issues in https://r.android.com/1155184
Test: atest Gating
Change-Id: Iaca121b95fe498be0f1b269dd45d880351ff6526
5 files changed