File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public class AVD {
67
67
static final String DEVICE_DEFINITION = "Nexus 5" ;
68
68
static final String DEVICE_SKIN = "1080x1920" ;
69
69
70
- static final String DEVICE_WEAR_DEFINITION = "wear_square " ;
70
+ static final String DEVICE_WEAR_DEFINITION = "wear_square_280_280dpi " ;
71
71
static final String DEVICE_WEAR_SKIN = "280x280" ;
72
72
73
73
/** Name of this avd. */
@@ -245,9 +245,8 @@ protected boolean create(final AndroidSDK sdk) throws IOException {
245
245
// Add skin to AVD's config file
246
246
File configFile = new File (avdPath , "config.ini" );
247
247
if (configFile .exists ()) {
248
- try (PrintWriter output = new PrintWriter (new FileWriter (configFile .getAbsolutePath (), true )))
249
- {
250
- output .printf ("%s\r \n " , "skin.name=" + skin );
248
+ try (PrintWriter output = new PrintWriter (new FileWriter (configFile .getAbsolutePath (), true ))) {
249
+ output .printf ("%s\r \n " , "skin.name=" + skin );
251
250
}
252
251
catch (Exception e ) {}
253
252
}
You can’t perform that action at this time.
0 commit comments