Framewors: do not call every time setupTriggers

if pie is disabled

Change-Id: Iecfe5a074aa11a2f773ba176a51a4ccad121f1de