Merge "[Remoting] Modified task related codes in ScreenMirroring."