From 995b098f65ae821cd2e9d616fa32ba40c8261e3e Mon Sep 17 00:00:00 2001 From: Aran Zaiger Date: Sat, 2 Jul 2016 19:47:45 +0300 Subject: [PATCH 1/2] removed delay in heavy worker --- .../matan/ara/sagi/thesocialnotework/HeavyWorker.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/com/android_app/matan/ara/sagi/thesocialnotework/HeavyWorker.java b/app/src/main/java/com/android_app/matan/ara/sagi/thesocialnotework/HeavyWorker.java index 2ed5f77..273721f 100644 --- a/app/src/main/java/com/android_app/matan/ara/sagi/thesocialnotework/HeavyWorker.java +++ b/app/src/main/java/com/android_app/matan/ara/sagi/thesocialnotework/HeavyWorker.java @@ -32,12 +32,6 @@ public class HeavyWorker extends AsyncTask< String , Context , Void > { PersonalSpaceActivity ps = (PersonalSpaceActivity)targetCtx; ps.getAllNotes(); - try { - Thread.sleep(5000); - } catch (InterruptedException e) { - e.printStackTrace(); - } - return null ; } From 19bde85244da13dd909dfb4c655b1c4be00484b8 Mon Sep 17 00:00:00 2001 From: Aran Zaiger Date: Sat, 2 Jul 2016 20:18:19 +0300 Subject: [PATCH 2/2] added runtime internet permission request --- .idea/gradle.xml | 2 +- .../matan/ara/sagi/thesocialnotework/PersonalSpaceActivity.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 58992cc..ee6ddd0 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,7 +5,7 @@