Commit 00379a5f08dd7091b244736a0ea6585a7fe80499

Authored by perry.werneck@gmail.com
1 parent d48cf88d

Android - Removendo métodos sem uso

Showing 1 changed file with 8 additions and 12 deletions   Show diff stats
android/src/br/com/bb/pw3270/lib3270.java
... ... @@ -110,12 +110,11 @@ public abstract class lib3270
110 110 if(screenState != 2)
111 111 {
112 112 screenState = 2;
113   - erase();
  113 + reload();
114 114 }
115 115 break;
116 116  
117 117 case 5: // ctlr_done
118   - Log.d(TAG, "ctlr_done");
119 118 break;
120 119  
121 120 case 7: // ready
... ... @@ -134,7 +133,6 @@ public abstract class lib3270
134 133 break;
135 134  
136 135 case 8: // busy
137   - showProgressDialog("Aguarde...");
138 136 break;
139 137  
140 138 case 9: // Create timer
... ... @@ -394,11 +392,6 @@ public abstract class lib3270
394 392 }
395 393  
396 394 public abstract String getProgramMessageText(int id);
397   - /*
398   - {
399   - return "Message " + Integer.toString(id);
400   - }
401   - */
402 395  
403 396 /*---[ Signal methods ]--------------------------------------------------*/
404 397  
... ... @@ -410,15 +403,15 @@ public abstract class lib3270
410 403 if(screenState != 0)
411 404 {
412 405 screenState = 0;
413   - Log.v(TAG, "Status changed to NONE");
414   - view.reload();
  406 +// Log.v(TAG, "Status changed to NONE");
  407 + reload();
415 408 }
416 409 break;
417 410  
418 411 case 4: // LIB3270_MESSAGE_DISCONNECTED
419 412 Log.v(TAG, "Status changed to disconnected");
420 413 connected = false;
421   - erase();
  414 + reload();
422 415 break;
423 416  
424 417 case 3: // LIB3270_MESSAGE_CONNECTED
... ... @@ -475,8 +468,9 @@ public abstract class lib3270
475 468 Log.e(tag, msg);
476 469 }
477 470  
478   - protected void erase()
  471 + protected void reload()
479 472 {
  473 + view.reload();
480 474 }
481 475  
482 476 public void pfkey(int id)
... ... @@ -499,9 +493,11 @@ public abstract class lib3270
499 493 postMessage(8, 0, 0);
500 494 }
501 495  
  496 + /*
502 497 public void showProgressDialog(String msg)
503 498 {
504 499 }
  500 + */
505 501  
506 502 /*---[ External methods ]------------------------------------------------*/
507 503  
... ...