stat.snd_count = app_value->counter.out_bytes;
stat.rcv_count = app_value->counter.in_bytes;
stat.is_roaming = default_connection->roaming;
-
- if (strstr(stat.app_id, "_BACKGROUND")) {
- stat.ground = STC_APP_STATE_BACKGROUND;
- } else {
- if (strstr(stat.app_id, "TOTAL_"))
- stat.ground = STC_APP_STATE_UNKNOWN;
- else
- stat.ground = STC_APP_STATE_FOREGROUND;
- }
+ stat.ground = STC_APP_STATE_UNKNOWN;
table_statistics_insert(&stat_key, &stat, *touch_time);