commit | fecc78036d408a56c6181384e9572f2f0e5a06fc | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Thu May 18 12:54:25 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Thu Jun 08 01:19:49 2017 +0000 |
tree | 84eb22e02aa315ff2ff97553c0fb84f9b16c0195 | |
parent | fdb3d31504bdaaad923d4add22cec9ba1ed5585f [diff] |
Fix NPE in MtpDocumentsProviderTests Previous patch ag/2250238 broke MtpDocumentsProviderTests since ServiceIntentSender's constructor refers the context argument which is null in the tests. The CL adds a test version of the constructor which does not use the context argument in it. Bug: 38363487 Test: MtpDocumentsProviderTests Change-Id: I68a1d8cb6997499e5069c33f70fd0f675aaad77c (cherry picked from commit c5949bd39c788e98edd9862c7ac12e822a906ad5)