summaryrefslogtreecommitdiff
path: root/tools/aapt2/format/binary/BinaryResourceParser.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-01-20 04:27:09 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-01-20 04:27:09 +0000
commit78dba63ad1e658ac99d9590073a28427cdc427d3 (patch)
treece652e04b78278f1a244b741dc60f18b2032f9f4 /tools/aapt2/format/binary/BinaryResourceParser.cpp
parent4e489a5fee83c2c45d86bc2313a91fef30af9e8a (diff)
parent6083d7fb7d7e754893f89e1ce769847aeb7176bd (diff)
Snap for 5246489 from 6083d7fb7d7e754893f89e1ce769847aeb7176bd to qt-release
Change-Id: Ife87e1a09d72438fa50f6437b47a57bbdf450bd8
Diffstat (limited to 'tools/aapt2/format/binary/BinaryResourceParser.cpp')
-rw-r--r--tools/aapt2/format/binary/BinaryResourceParser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/aapt2/format/binary/BinaryResourceParser.cpp b/tools/aapt2/format/binary/BinaryResourceParser.cpp
index 7d4c6f348403..40aaa05c2b30 100644
--- a/tools/aapt2/format/binary/BinaryResourceParser.cpp
+++ b/tools/aapt2/format/binary/BinaryResourceParser.cpp
@@ -473,10 +473,6 @@ bool BinaryResourceParser::ParseOverlayable(const ResChunk_header* chunk) {
& ResTable_overlayable_policy_header::POLICY_PRODUCT_PARTITION) {
policies |= OverlayableItem::Policy::kProduct;
}
- if (policy_header->policy_flags
- & ResTable_overlayable_policy_header::POLICY_PRODUCT_SERVICES_PARTITION) {
- policies |= OverlayableItem::Policy::kProductServices;
- }
const ResTable_ref* const ref_begin = reinterpret_cast<const ResTable_ref*>(
((uint8_t *)policy_header) + util::DeviceToHost32(policy_header->header.headerSize));