Compare commits
No commits in common. "539170109d3421d6a64bd36639b07479452b455b" and "680dd0f803b2776472b46e75632fe8d287964ba0" have entirely different histories.
539170109d
...
680dd0f803
@ -255,12 +255,13 @@ public abstract class AbstractSDParentActivity extends TabActivity {
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getAlarms(long userID) {
|
public boolean getAlarms(long userID)
|
||||||
if (tcp == null)
|
{
|
||||||
|
if(tcp == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
boolean res = tcp.Write("0.0", "#27#" + userID + "#");
|
boolean res = tcp.Write("0.0", "#27#" + userID + "#");
|
||||||
if (res)
|
if(res)
|
||||||
SM.Debug("Message [GetAlarms] sent to app server");
|
SM.Debug("Message [GetAlarms] sent to app server");
|
||||||
else
|
else
|
||||||
SM.Debug("Could not send message [GetAlarms]!!");
|
SM.Debug("Could not send message [GetAlarms]!!");
|
||||||
|
@ -1741,8 +1741,10 @@ public class TabLayoutActivity extends AbstractSDParentActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//list for SMS
|
//list for SMS
|
||||||
if (AppParams.crtTab == AppParams.Tabs.alarms)
|
if (AppParams.crtTab == AppParams.Tabs.alarms) {
|
||||||
|
SM.Debug("currentActivity instanceof AlarmActivity - newSMS | " + tempArr[0] + " | " + tempArr[1]);
|
||||||
getAlarms(AppParams.USERID);
|
getAlarms(AppParams.USERID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user