actually stop PassphraseCacheService when it's empty

This commit is contained in:
Vincent Breitmoser
2017-05-01 00:58:27 +02:00
parent 6c2c8b2480
commit 43757bf345

View File

@@ -493,6 +493,7 @@ public class PassphraseCacheService extends Service {
// stop whole service if no cached passphrases remaining
Log.d(Constants.TAG, "PassphraseCacheService: No passphrases remaining in memory, stopping service!");
stopForeground(true);
stopSelf();
}
}