Modify ad-hoc settings patch for cm10.1