Merge some things from the oppo find5's camerawrapper