From 506d4949be8016ff34191e6304fb16b5ba53e4bd Mon Sep 17 00:00:00 2001 From: Paul Brussee Date: Mon, 21 Nov 2016 22:24:54 +0100 Subject: [PATCH] remove shutdown gracetime (#2635) --- .../app/src/main/java/org/tribler/android/MainActivity.java | 2 +- .../java/org/tribler/android/restapi/json/ShutdownAck.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/android/TriblerApp/app/src/main/java/org/tribler/android/MainActivity.java b/android/TriblerApp/app/src/main/java/org/tribler/android/MainActivity.java index e8c5abdb02c..c6594ac29d9 100644 --- a/android/TriblerApp/app/src/main/java/org/tribler/android/MainActivity.java +++ b/android/TriblerApp/app/src/main/java/org/tribler/android/MainActivity.java @@ -682,7 +682,7 @@ private void shutdown() { .subscribe(new Observer() { public void onNext(ShutdownAck response) { - Log.v("shutdown", "grace_time = " + response.getGracetime()); + Log.v("shutdown", "shutdown = " + String.valueOf(response.isShutdown())); } public void onCompleted() { diff --git a/android/TriblerApp/app/src/main/java/org/tribler/android/restapi/json/ShutdownAck.java b/android/TriblerApp/app/src/main/java/org/tribler/android/restapi/json/ShutdownAck.java index ea24a2c14f3..280d21d15cd 100644 --- a/android/TriblerApp/app/src/main/java/org/tribler/android/restapi/json/ShutdownAck.java +++ b/android/TriblerApp/app/src/main/java/org/tribler/android/restapi/json/ShutdownAck.java @@ -3,7 +3,6 @@ public class ShutdownAck { private boolean shutdown; - private float gracetime; ShutdownAck() { } @@ -12,8 +11,4 @@ public boolean isShutdown() { return shutdown; } - public float getGracetime() { - return gracetime; - } - }