diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-07-25 16:25:20 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-07-25 16:25:20 +0200 |
commit | 7cca7b1ffa416a354c08e1cb6b5776ae55fc19ab (patch) | |
tree | c5200b200a5f8624f553992c5897ffef7732e79c /OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java | |
parent | 14350679d1ef17fe1add86b1ec1def99f9a8f0cc (diff) | |
download | open-keychain-7cca7b1ffa416a354c08e1cb6b5776ae55fc19ab.tar.gz open-keychain-7cca7b1ffa416a354c08e1cb6b5776ae55fc19ab.tar.bz2 open-keychain-7cca7b1ffa416a354c08e1cb6b5776ae55fc19ab.zip |
Redifine Service callbacks
Diffstat (limited to 'OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java')
-rw-r--r-- | OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java index c7d40d376..71b78ee01 100644 --- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java +++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/remote_api/CryptoService.java @@ -263,7 +263,7 @@ public class CryptoService extends Service { private final IServiceActivityCallback.Stub mBinderServiceActivity = new IServiceActivityCallback.Stub() { @Override - public void register(boolean success, String packageName) throws RemoteException { + public void onRegistered(boolean success, String packageName) throws RemoteException { if (success) { // resume threads @@ -280,7 +280,7 @@ public class CryptoService extends Service { } @Override - public void cachePassphrase(boolean success, String passphrase) throws RemoteException { + public void onCachedPassphrase(boolean success) throws RemoteException { } @@ -355,8 +355,6 @@ public class CryptoService extends Service { Log.d(Constants.TAG, "starting activity..."); Intent intent = new Intent(getBaseContext(), ServiceActivity.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - // intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); - // intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); intent.setAction(action); if (extras != null) { intent.putExtras(extras); |