MTP: enable new cancel behavior in short packet handling
Since short packet handling still use older cancel bahavior,
the cancel may be failed if users copy specific files to the
PC.
This patch will send batchcancel flag to cancelEvents in
short packet handling so that cancelEvents function will
select the cancel behavior by batchcancel flag.
Bug: 181729410
Test: verified with specific files
Signed-off-by: sekaiacg <sekaiacg@gmail.com>
Change-Id: I21b4fef854330e39f0ad8fe0a299b7194242967d
(cherry picked from commit bc8dce77076b7d9e4ec078ee8023870f4ddc8873)
1 file changed