OSDN Git Service

Add download request tokens and enforce destination clear
authorHall Liu <hallliu@google.com>
Tue, 20 Jun 2017 00:20:10 +0000 (17:20 -0700)
committerHall Liu <hallliu@google.com>
Fri, 23 Jun 2017 23:45:19 +0000 (16:45 -0700)
commit2043f70acb2fa0bb9c0ddc056c9bfd427addc580
tree4097546ffce8b15a11497ac85013cdfb0535875f
parente601160a9697bf836e425459e5d804d39457741f
Add download request tokens and enforce destination clear

Start writing tokens for each download request after calling download(),
and check agains them when a completed-file intent is received with a
download request extra.
Also start checking that the download destination is clear.

Change-Id: I533fe2ba49ac56bed5eab44670fe8e9a273b1ffb
telephony/java/android/telephony/MbmsDownloadManager.java
telephony/java/android/telephony/mbms/DownloadRequest.java
telephony/java/android/telephony/mbms/MbmsDownloadReceiver.java
telephony/java/android/telephony/mbms/MbmsUtils.java