commit | a20be94442f1afa8ea92c391956c71f81b2554f0 | [log] [tgz] |
---|---|---|
author | Sahana Rao <sahanas@google.com> | Fri Sep 11 15:47:53 2020 +0100 |
committer | Sahana Rao <sahanas@google.com> | Thu Oct 22 15:43:26 2020 +0000 |
tree | 00fa053f76382da5ebc9ca5c80a9180bac4f05f5 | |
parent | 16f5b1ee367bbebbab83395d8a3e74264da3d5d4 [diff] |
Migrate PARENT column from legacy MediaProvider's database PARENT column is computed based on the path of the file when database row is inserted. For migrated db rows, this will be set to NULL. To avoid NULL values, this CL migrates these columns from legacy MediaProvider's database. Bug: 162490053 Test: atest MediaProviderTests Change-Id: Idb9d286d1594448bbd446239df41ba64b6cb9b20 (cherry picked from commit 19da95bfa8ef6f852d36607d2884797551f5f245)