Add photoTan support
Port 7b899b594aec3d4a6b79ef70ee86e232ff5f4dc6 a8a585021206add6c3fe1001af28dda527818674 to 4.8 series.
CCBUG:411864