From 25028b717864c3ee0d83baf0c201d85d7f5556ce Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 29 Dec 2014 13:12:45 -0800 Subject: [PATCH] Update to jobmanager 0.10.0 // FREEBIE --- build.gradle | 4 ++-- .../jobs/requirements/MasterSecretRequirementProvider.java | 5 ----- .../jobs/requirements/ServiceRequirementProvider.java | 5 ----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index 4383f99486..d5e78eafca 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ dependencies { } provided 'com.squareup.dagger:dagger-compiler:1.2.2' - compile 'org.whispersystems:jobmanager:0.9.0' + compile 'org.whispersystems:jobmanager:0.10.0' compile 'org.whispersystems:libpastelog:1.0.2' androidTestCompile 'com.squareup:fest-android:1.0.8' @@ -77,8 +77,8 @@ dependencyVerification { 'com.android.support:support-v4-preferencefragment:5470f5872514a6226fa1fc6f4e000991f38805691c534cf0bd2778911fc773ad', 'com.squareup.dagger:dagger:789aca24537022e49f91fc6444078d9de8f1dd99e1bfb090f18491b186967883', 'com.doomonafireball.betterpickers:library:1c2dd66b0f4555e9e68427b28eed8826b7cd2e7074b8c038c88836a6aa9abe64', - 'org.whispersystems:jobmanager:adb4329b69035053a7b6a48e22a3280235ac405b225ed8679b994612a8e6f5b6', 'org.whispersystems:libpastelog:9798b3c93a91082c2c68542ce5b5c182e18556aebdcb7c8cebbd89eb48ac4047', + 'org.whispersystems:jobmanager:01f35586c43aa3806f1c18d3d6a5a972def98103ba1a5a9ca3eec08d15f974b7', 'com.android.support:support-v4:81f2b1c2c94efd5a4ec7fcd97b6cdcd00e87a933905c5c86103c7319eb024572', 'com.madgag.spongycastle:core:8d6240b974b0aca4d3da9c7dd44d42339d8a374358aca5fc98e50a995764511f', 'javax.inject:javax.inject:91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff', diff --git a/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirementProvider.java b/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirementProvider.java index e33d25e76f..f4f1103d81 100644 --- a/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirementProvider.java +++ b/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirementProvider.java @@ -29,11 +29,6 @@ public class MasterSecretRequirementProvider implements RequirementProvider { context.registerReceiver(newKeyReceiver, filter, KeyCachingService.KEY_PERMISSION, null); } - @Override - public String getName() { - return "master_secret"; - } - @Override public void setListener(RequirementListener listener) { this.listener = listener; diff --git a/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirementProvider.java b/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirementProvider.java index 58abd0675f..867c99a188 100644 --- a/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirementProvider.java +++ b/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirementProvider.java @@ -24,11 +24,6 @@ public class ServiceRequirementProvider implements RequirementProvider { this.listeningForServiceState = new AtomicBoolean(false); } - @Override - public String getName() { - return "telephony-service"; - } - @Override public void setListener(RequirementListener requirementListener) { this.requirementListener = requirementListener;