|
|
|
@ -114,7 +114,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
public final static int BROADCAST_REQUEST_CODE_GPS = 3;
|
|
|
|
|
public final static int BROADCAST_REQUEST_CODE_STOP_SERVICE = 4;
|
|
|
|
|
|
|
|
|
|
public static final int NOTIFICATION_ID_FOREGROUND_SERVICE = 8466503;
|
|
|
|
|
public static final int NOTIFICATION_ID_FOREGROUND_SERVICE = 8466508;
|
|
|
|
|
public static final String ACTION_MSG_BROADCAST = "ACT_MSG_BROADCAST";
|
|
|
|
|
|
|
|
|
|
public static final String ACTION_START = "com.xypower.mpapp.ACT_START";
|
|
|
|
@ -1246,7 +1246,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
mStateService = STATE_SERVICE.CONNECTED;
|
|
|
|
|
startForeground(NOTIFICATION_ID_FOREGROUND_SERVICE, prepareNotification());
|
|
|
|
|
}
|
|
|
|
|
}, 10000);
|
|
|
|
|
}, 8000);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|