Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 591318138
Change-Id: If587647d237a769ba5740846b4160ba1ae9780da
  • Loading branch information
timpeut authored and copybara-github committed Dec 15, 2023
1 parent ef98ef9 commit a9eee3a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
import javax.annotation.concurrent.NotThreadSafe;

/** Deserializes {@link DataKey}, {@link DataValue} entries from compiled resource files. */
// Intentionally used fully-qualified names to avoid Bazel CI class import issues. Certain code
// blocks are currently only used in google. This can be removed once ide_common is updated on Bazel
// CI.
@SuppressWarnings("UnnecessarilyFullyQualified")
public class AndroidCompiledDataDeserializer implements AndroidDataDeserializer {
private static final Logger logger =
Logger.getLogger(AndroidCompiledDataDeserializer.class.getName());
Expand Down Expand Up @@ -248,6 +252,7 @@ public class AndroidCompiledDataDeserializer implements AndroidDataDeserializer
.put(640, Density.XXXHIGH)
.buildOrThrow();


private final boolean includeFileContentsForValidation;

public static AndroidCompiledDataDeserializer create(boolean includeFileContentsForValidation) {
Expand Down Expand Up @@ -511,6 +516,7 @@ private static List<String> convertToQualifiers(Configuration protoConfig) {
configuration.setVersionQualifier(new VersionQualifier(protoConfig.getSdkVersion()));
}


return Arrays.stream(configuration.getQualifiers())
.map(ResourceQualifier::getFolderSegment)
.collect(toList());
Expand Down

0 comments on commit a9eee3a

Please sign in to comment.