|
|
|
@ -272,17 +272,7 @@ public class MicroPhotoService extends Service {
|
|
|
|
|
intentFilter.addAction(ACTION_TAKE_PHOTO_MANUALLY);
|
|
|
|
|
intentFilter.addAction(ACTION_GPS_TIMEOUT);
|
|
|
|
|
intentFilter.addAction(ACTION_RESTART);
|
|
|
|
|
// intentFilter.addAction(ACTION_HEARTBEAT_MANUALLY);
|
|
|
|
|
// intentFilter.addAction(ACTION_MSG_BROADCAST);
|
|
|
|
|
// intentFilter.addAction(ACTION_VIDEO_FINISHED);
|
|
|
|
|
// intentFilter.addAction(ACTION_STOP);
|
|
|
|
|
// intentFilter.addCategory(Intent.CATEGORY_DEFAULT);
|
|
|
|
|
getApplicationContext().registerReceiver(mAlarmReceiver, intentFilter, Context.RECEIVER_EXPORTED | Context.RECEIVER_VISIBLE_TO_INSTANT_APPS);
|
|
|
|
|
|
|
|
|
|
// IntentFilter intentFilter2 = new IntentFilter(ACTION_MSG_BROADCAST);
|
|
|
|
|
// registerReceiver(mAlarmReceiver, intentFilter2);
|
|
|
|
|
|
|
|
|
|
// registerRe
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
mLocalMsgReceiver = new AlarmReceiver(this);
|
|
|
|
|