diff options
author | 2018-12-13 00:07:32 +0000 | |
---|---|---|
committer | 2018-12-13 00:07:32 +0000 | |
commit | 267d6ac11e3066dff3c3b664891bae468239ebe8 (patch) | |
tree | 4732e1f246d5e7b695b0567d1212b98dfa1ce150 /tools/aapt2/Debug.cpp | |
parent | 81e6e1dc1fed99d621ce0984f2ad647b52558838 (diff) | |
parent | 1bb1fe068a7e719711963c3cf3a50209e083a17f (diff) |
Merge "Refactor policy parsing"
Diffstat (limited to 'tools/aapt2/Debug.cpp')
-rw-r--r-- | tools/aapt2/Debug.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/aapt2/Debug.cpp b/tools/aapt2/Debug.cpp index 583f14ac0cbd..9460c9e596e9 100644 --- a/tools/aapt2/Debug.cpp +++ b/tools/aapt2/Debug.cpp @@ -306,31 +306,6 @@ void Debug::PrintTable(const ResourceTable& table, const DebugPrintTableOptions& break; } - for (size_t i = 0; i < entry->overlayable_declarations.size(); i++) { - printer->Print((i == 0) ? " " : "|"); - printer->Print("OVERLAYABLE"); - - if (entry->overlayable_declarations[i].policy) { - switch (entry->overlayable_declarations[i].policy.value()) { - case Overlayable::Policy::kProduct: - printer->Print("_PRODUCT"); - break; - case Overlayable::Policy::kProductServices: - printer->Print("_PRODUCT_SERVICES"); - break; - case Overlayable::Policy::kSystem: - printer->Print("_SYSTEM"); - break; - case Overlayable::Policy::kVendor: - printer->Print("_VENDOR"); - break; - case Overlayable::Policy::kPublic: - printer->Print("_PUBLIC"); - break; - } - } - } - printer->Println(); if (options.show_values) { |