Framewors: do not call every time setupTriggers

if pie is disabled

Change-Id: I89772e0df5676e9c951d59881b87cfff8a857c41