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 @@ -47,7 +47,6 @@ public class AndroidMode extends JavaMode {
4747
4848 public AndroidMode (Base base , File folder ) {
4949 super (base , folder );
50- checkSDK (null );
5150 }
5251
5352
@@ -129,13 +128,13 @@ public void loadSDK() {
129128 }
130129 }
131130
132- public void checkSDK (Editor parent ) {
131+ public void checkSDK (Editor editor ) {
133132 if (sdk == null ) {
134133 try {
135134 sdk = AndroidSDK .load ();
136135 // FIXME REVERT THIS STATEMENT AFTER TESTING (should be ==)
137- if (sdk == null && parent != null ) {
138- sdk = AndroidSDK .locate (parent , this );
136+ if (sdk == null && editor != null ) {
137+ sdk = AndroidSDK .locate (editor , this );
139138 }
140139 } catch (BadSDKException e ) {
141140 e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments