Skip to content

Commit

Permalink
Remove duplicate ManifestProcessingException
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Jan 21, 2022
1 parent fb744c8 commit 9ea5d09
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static AndroidManifest parseFrom(Path manifest) {

return new AndroidManifest(packageName, minSdk.isEmpty() ? "1" : minSdk);
} catch (IOException | XMLStreamException e) {
throw new ManifestProcessingException(e);
throw new AndroidManifestProcessor.ManifestProcessingException(e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public DensitySpecificManifestProcessor(List<String> densities, Path out) {
* specified densities. If the manifest already contains a superset of the
* &lt;compatible-screens&gt; section to be created, it is left unchanged.
*
* @throws ManifestProcessingException when the manifest cannot be properly modified.
* @throws AndroidManifestProcessor.ManifestProcessingException when the manifest cannot be
* properly modified.
*/
public Path process(Path manifest) {
if (densities.isEmpty()) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Path getManifest() {
public DensityFilteredAndroidData filter(
DensitySpecificResourceFilter resourceFilter,
DensitySpecificManifestProcessor manifestProcessor)
throws ManifestProcessingException {
throws AndroidManifestProcessor.ManifestProcessingException {
return new DensityFilteredAndroidData(
resourceFilter.filter(resourceDir), assetDir, manifestProcessor.process(manifest));
}
Expand Down

0 comments on commit 9ea5d09

Please sign in to comment.