Merge "Register quick_exit handler only for API level >= 21"