summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2014-11-14 08:34:57 -0800
committerKenny Root <kroot@google.com>2014-11-14 09:54:19 -0800
commit13e867cb8d4f45f4a7c7a1552d89dfc5ec95f159 (patch)
tree8d4e94c0de69107731bdbc8a235104d30de59fa1 /src
parent8127df96f5fd50cc216b74d51a7ab87397b02891 (diff)
downloadandroid_packages_apps_KeyChain-13e867cb8d4f45f4a7c7a1552d89dfc5ec95f159.tar.gz
android_packages_apps_KeyChain-13e867cb8d4f45f4a7c7a1552d89dfc5ec95f159.tar.bz2
android_packages_apps_KeyChain-13e867cb8d4f45f4a7c7a1552d89dfc5ec95f159.zip
Call local finish(String) on cancel
Change I439592b2236261fa683484cd5c3ba26795aece47 to honor "Cancel" button presses caused a call directly into finish() instead of the local finish(String) which does some extra administrivia. Bug: 18381187 Bug: https://code.google.com/p/android/issues/detail?id=79208 Change-Id: Ica7f52ce3afa82d95ea5cc3cb15c9ac7b734cf93
Diffstat (limited to 'src')
-rw-r--r--src/com/android/keychain/KeyChainActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/keychain/KeyChainActivity.java b/src/com/android/keychain/KeyChainActivity.java
index 3859f05..23aa1a1 100644
--- a/src/com/android/keychain/KeyChainActivity.java
+++ b/src/com/android/keychain/KeyChainActivity.java
@@ -127,7 +127,7 @@ public class KeyChainActivity extends Activity {
case UNLOCK_CANCELED:
// User wanted to cancel the request, so exit.
mState = State.INITIAL;
- finish();
+ finish(null);
return;
default:
throw new AssertionError();