Refresh cancellation signal for newly launched operation
This commit is contained in:
parent
bf9179391b
commit
71b4598687
|
@ -71,7 +71,7 @@ public class KeychainService extends Service implements Progressable {
|
|||
public static final String ACTION_CANCEL = "action_cancel";
|
||||
|
||||
// this attribute can possibly merged with the one above? not sure...
|
||||
private CancellationSignal mActionCanceled = new CancellationSignal();
|
||||
private CancellationSignal mActionCanceled;
|
||||
|
||||
ThreadLocal<Messenger> mMessenger = new ThreadLocal<>();
|
||||
|
||||
|
@ -91,6 +91,8 @@ public class KeychainService extends Service implements Progressable {
|
|||
return START_NOT_STICKY;
|
||||
}
|
||||
|
||||
mActionCanceled = new CancellationSignal();
|
||||
|
||||
Runnable actionRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in a new issue