()
| 551 | } |
| 552 | |
| 553 | public boolean isRouter(){ |
| 554 | try{ |
| 555 | return (mType == Type.ENDPOINT && mEndpoint.getAddress().equals(System.getNetwork().getGatewayAddress())); |
| 556 | } |
| 557 | catch(Exception e){ |
| 558 | System.errorLogging(e); |
| 559 | } |
| 560 | |
| 561 | return false; |
| 562 | } |
| 563 | |
| 564 | public int getDrawableResourceId(){ |
| 565 | try{ |
no test coverage detected