|
|
|
@ -424,7 +424,9 @@ public class MpMasterService extends Service {
|
|
|
|
|
if (mPreviousMpHbTime <= ts && ts - mPreviousMpHbTime > tempduration * 2) {
|
|
|
|
|
// MpApp is not running
|
|
|
|
|
if (ts - mTimeToStartMpApp >= 1800000) { // 30 minutes 30 * 60 * 1000
|
|
|
|
|
MicroPhotoContext.restartMpApp(context, "MpMST Keep Alive Detection");
|
|
|
|
|
if (false) {
|
|
|
|
|
MicroPhotoContext.restartMpApp(context, "MpMST Keep Alive Detection");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
logger.warning("Restart MpAPP as it is NOT Running Prev MPAPP HB=" +
|
|
|
|
|
Long.toString((ts - mPreviousMpHbTime) / 1000) + " MPAPP HBDuration=" + Long.toString(mMpHeartbeatDuration)
|
|
|
|
|