diff options
author | John Reck <jreck@google.com> | 2010-12-09 17:15:38 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-12-09 17:15:38 -0800 |
commit | a9c1c33d4d61f108eb22f345052ced43b485af84 (patch) | |
tree | 30bf22d73a5b16e79a2ef2972a72fa0e96418103 /src/com/android/browser/ShortcutActivity.java | |
parent | 257cc2c8fcdd7117317e89861d4509955a622be8 (diff) | |
download | packages_apps_Browser-a9c1c33d4d61f108eb22f345052ced43b485af84.zip packages_apps_Browser-a9c1c33d4d61f108eb22f345052ced43b485af84.tar.gz packages_apps_Browser-a9c1c33d4d61f108eb22f345052ced43b485af84.tar.bz2 |
Hooked up shortcut callback listener
Bug: 3272241
When the cancel button was added the call to register a callback
listener was accidentally removed. Adding it back.
Change-Id: I45fc205873a4c1d3b9f4faa470cecf7cfed661c7
Diffstat (limited to 'src/com/android/browser/ShortcutActivity.java')
-rw-r--r-- | src/com/android/browser/ShortcutActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/ShortcutActivity.java b/src/com/android/browser/ShortcutActivity.java index 33e192a..16a4cbe 100644 --- a/src/com/android/browser/ShortcutActivity.java +++ b/src/com/android/browser/ShortcutActivity.java @@ -40,6 +40,7 @@ public class ShortcutActivity extends Activity mBookmarks.setEnableContextMenu(false); mBookmarks.setBreadCrumbMaxVisible(2); mBookmarks.setBreadCrumbUseBackButton(true); + mBookmarks.setCallbackListener(this); View cancel = findViewById(R.id.cancel); if (cancel != null) { cancel.setOnClickListener(this); |