diff options
author | Adam Powell <adamp@google.com> | 2014-05-06 20:24:23 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-06 20:24:23 +0000 |
commit | 5f97930fc5dd44fcf1864acd53401c00b4de3a24 (patch) | |
tree | a47f927897e43f49a977c9786d30a500bb94d0dc /policy | |
parent | 55d47f6be8ba5aab8d9d9cc19e3549c354f08e4f (diff) | |
parent | c41fa708271e204a7983aba291389ea1554227b2 (diff) | |
download | frameworks_base-5f97930fc5dd44fcf1864acd53401c00b4de3a24.zip frameworks_base-5f97930fc5dd44fcf1864acd53401c00b4de3a24.tar.gz frameworks_base-5f97930fc5dd44fcf1864acd53401c00b4de3a24.tar.bz2 |
am c41fa708: am a0516e7a: Merge "onWindowDismissed API cleanup" into klp-modular-dev
* commit 'c41fa708271e204a7983aba291389ea1554227b2':
onWindowDismissed API cleanup
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 50e2a2e..b1fea03 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -3560,15 +3560,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { swipeDismiss.setOnDismissedListener(new SwipeDismissLayout.OnDismissedListener() { @Override public void onDismissed(SwipeDismissLayout layout) { - Callback cb = getCallback(); - if (cb != null) { - try { - cb.onWindowDismissed(); - } catch (AbstractMethodError e) { - Log.e(TAG, "onWindowDismissed not implemented in " + - cb.getClass().getSimpleName(), e); - } - } + dispatchOnWindowDismissed(); } }); swipeDismiss.setOnSwipeProgressChangedListener( |