summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-11-06 23:18:40 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-11-06 23:18:40 +0100
commitafad7170bb32ad155a1d0824d21838b94aca717e (patch)
tree627562c3f6fca9fc941f587f9594036c53b3606e /tools
parentMerge "tests: Add a testcase for updater overrun while patching." am: d1f105a466 (diff)
parentMerge changes If24c6b7c,I381b0103 (diff)
downloadandroid_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar.gz
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar.bz2
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar.lz
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar.xz
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.tar.zst
android_bootable_recovery-afad7170bb32ad155a1d0824d21838b94aca717e.zip
Diffstat (limited to 'tools')
-rw-r--r--tools/image_generator/ImageGenerator.java24
1 files changed, 11 insertions, 13 deletions
diff --git a/tools/image_generator/ImageGenerator.java b/tools/image_generator/ImageGenerator.java
index 8ed696a45..8cdd4944a 100644
--- a/tools/image_generator/ImageGenerator.java
+++ b/tools/image_generator/ImageGenerator.java
@@ -16,6 +16,16 @@
package com.android.recovery.tools;
+import org.apache.commons.cli.CommandLine;
+import org.apache.commons.cli.GnuParser;
+import org.apache.commons.cli.HelpFormatter;
+import org.apache.commons.cli.OptionBuilder;
+import org.apache.commons.cli.Options;
+import org.apache.commons.cli.ParseException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
import java.awt.Color;
import java.awt.Font;
import java.awt.FontFormatException;
@@ -32,25 +42,14 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
-import java.util.TreeMap;
import java.util.StringTokenizer;
+import java.util.TreeMap;
import javax.imageio.ImageIO;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
-import org.apache.commons.cli.CommandLine;
-import org.apache.commons.cli.GnuParser;
-import org.apache.commons.cli.HelpFormatter;
-import org.apache.commons.cli.OptionBuilder;
-import org.apache.commons.cli.Options;
-import org.apache.commons.cli.ParseException;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
/**
* Command line tool to generate the localized image for recovery mode.
*/
@@ -552,4 +551,3 @@ public class ImageGenerator {
imageGenerator.generateImage(localizedStringMap, cmd.getOptionValue("output_file"));
}
}
-