commit | 9bc0bc0aab40df35f8f76a3919abac8e933aba09 | [log] [tgz] |
---|---|---|
author | Sahana Rao <sahanas@google.com> | Fri Feb 04 09:05:57 2022 +0000 |
committer | Sahana Rao <sahanas@google.com> | Fri Feb 04 09:16:59 2022 +0000 |
tree | 98db4c10e2d73e36db9b95eb8e149d4a8dc5f9b1 | |
parent | 052a14cc7cca42a3355c498e9b615807e9cba5a8 [diff] |
Fix ItemsProviderTest#testGetItems_sortOrder Previously, testGetItems_sortOrder failed because it didn't create Camera dir if the diectory didn't exist. This made the file creation fail. Fixed it by making all test code use a common method to create files where we ensure parent directory exists before file creation. Bug: 216774921 Test: atest com.android.providers.media.photopicker.ItemsProviderTest#testGetItems_sortOrder Change-Id: Ib047d1bc6bc2640bfd5462b5a0b972fecbc4dafd