Call Compatibility.isChangeEnabled in calling app

As this checks the "change-enabled" state of the current app. Hence
calling this in the system server does not make sense.

This change sets a flag if we want to enable the old behavior.

Test: TH
Bug: 148180766
Change-Id: Ic17f8ff9ff7dcf984b55b978f582343286fa67c4
2 files changed