Fixed: Multiple reports filed
closes #102 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -191,10 +191,10 @@ public class ReportPostingService extends Service {
|
|||||||
*/
|
*/
|
||||||
private void postReport(){
|
private void postReport(){
|
||||||
if(!isStarted){
|
if(!isStarted){
|
||||||
|
isStarted = true;
|
||||||
new Thread(new Runnable(){
|
new Thread(new Runnable(){
|
||||||
@Override
|
@Override
|
||||||
public void run(){
|
public void run(){
|
||||||
isStarted = true;
|
|
||||||
try {
|
try {
|
||||||
Log.d(TAG, mReport.file());
|
Log.d(TAG, mReport.file());
|
||||||
} catch (ClientProtocolException e) {
|
} catch (ClientProtocolException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user