Fix API in SmartFragmentActivity