Fix crash if HW tuning framework isn't present.

Change-Id: I0128d57a5a46e87fe414a2682847ff877d8b1428
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2