diff options
author | Adam Cohen <adamcohen@google.com> | 2012-09-26 17:36:40 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2012-09-26 17:43:08 -0700 |
commit | a6a4cbc18f7e5a3831d787d3f398e02c5eae6512 (patch) | |
tree | d56fb9951f230684e973c5215940278116b7e0d4 /core/java/android/widget/RemoteViews.java | |
parent | fea9df6386d66089b004719f194625e159bb344a (diff) | |
download | frameworks_base-a6a4cbc18f7e5a3831d787d3f398e02c5eae6512.zip frameworks_base-a6a4cbc18f7e5a3831d787d3f398e02c5eae6512.tar.gz frameworks_base-a6a4cbc18f7e5a3831d787d3f398e02c5eae6512.tar.bz2 |
Fixing Keyguard widget click handling (issue 7179972)
Change-Id: I2b268d08f5aff403a04db53c357fa45a6cb8d490
Diffstat (limited to 'core/java/android/widget/RemoteViews.java')
-rw-r--r-- | core/java/android/widget/RemoteViews.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index 4b5dfb8..fc7229d 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -530,9 +530,11 @@ public class RemoteViews implements Parcelable, Filter { if (target instanceof AbsListView) { AbsListView v = (AbsListView) target; v.setRemoteViewsAdapter(intent); + v.setRemoteViewsOnClickHandler(handler); } else if (target instanceof AdapterViewAnimator) { AdapterViewAnimator v = (AdapterViewAnimator) target; v.setRemoteViewsAdapter(intent); + v.setRemoteViewsOnClickHandler(handler); } } |