when receiving a new alarm && current tab is alarms, refresh alarm list
This commit is contained in:
parent
5c075ee168
commit
0bdd161d69
@ -255,8 +255,7 @@ public abstract class AbstractSDParentActivity extends TabActivity {
|
||||
return res;
|
||||
}
|
||||
|
||||
public boolean getAlarms(long userID)
|
||||
{
|
||||
public boolean getAlarms(long userID) {
|
||||
if (tcp == null)
|
||||
return false;
|
||||
|
||||
|
@ -1741,11 +1741,9 @@ public class TabLayoutActivity extends AbstractSDParentActivity {
|
||||
}
|
||||
|
||||
//list for SMS
|
||||
if (AppParams.crtTab == AppParams.Tabs.alarms) {
|
||||
SM.Debug("currentActivity instanceof AlarmActivity - newSMS | " + tempArr[0] + " | " + tempArr[1]);
|
||||
if (AppParams.crtTab == AppParams.Tabs.alarms)
|
||||
getAlarms(AppParams.USERID);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRecordingsListReceived(TCPEvent event) {
|
||||
|
Loading…
Reference in New Issue
Block a user