Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed6c5561 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not derive source from binary APK"

parents 7a9c11c0 b5b162bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1084,7 +1084,7 @@ bool ResourceParser::ParseOverlayable(xml::XmlPullParser* parser, ParsedResource
  // Create a overlayable entry grouping that represents this <overlayable>
  auto overlayable = std::make_shared<Overlayable>(
      overlayable_name.value(), (overlayable_actor) ? overlayable_actor.value() : "",
      out_resource->source);
      source_);

  bool error = false;
  std::string comment;
+0 −3
Original line number Diff line number Diff line
@@ -401,7 +401,6 @@ bool BinaryResourceParser::ParseType(const ResourceTablePackage* package,
    if (entry->flags & ResTable_entry::FLAG_PUBLIC) {
      Visibility visibility;
      visibility.level = Visibility::Level::kPublic;
      visibility.source = source_.WithLine(0);
      if (!table_->SetVisibilityWithIdMangled(name, visibility, res_id, diag_)) {
        return false;
      }
@@ -448,7 +447,6 @@ bool BinaryResourceParser::ParseOverlayable(const ResChunk_header* chunk) {
                                                      arraysize(header->name)));
  overlayable->actor = util::Utf16ToUtf8(strcpy16_dtoh((const char16_t*)header->actor,
                                                       arraysize(header->name)));
  overlayable->source = source_.WithLine(0);

  ResChunkPullParser parser(GetChunkData(chunk),
                            GetChunkDataLen(chunk));
@@ -495,7 +493,6 @@ bool BinaryResourceParser::ParseOverlayable(const ResChunk_header* chunk) {
        }

        OverlayableItem overlayable_item(overlayable);
        overlayable_item.source = source_.WithLine(0);
        overlayable_item.policies = policies;
        if (!table_->SetOverlayable(iter->second, overlayable_item, diag_)) {
          return false;