frameworks/base: Add setCurrentFunctions to Legacy USB DM

Hi Hany,
This piece of code is required for fixing USB tethering for legacy devices. It should not interfere with modern devices. I need this for my device. Please merge it into AOSB codebase.

Thanks!