Fixed: Multiple reports filed
closes #102 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
1 parent
824f58879c
commit
c4980a8295
1 file changed
+1
-1
@@ -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