diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-06-28 17:39:41 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-06-28 17:39:41 -0700 |
commit | 074b54fbc0b6254c0ba308e0cf2e86c1cc929348 (patch) | |
tree | 29b0d0094e660da3ea3ed15dc69d5a1d0be68d7b /packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | |
parent | 50cf26c4268e986c5bb2b867da2e86975ca00494 (diff) | |
parent | a19402165000e9513f3097e10df2b7ebc8dbe1d4 (diff) | |
download | frameworks_base-074b54fbc0b6254c0ba308e0cf2e86c1cc929348.zip frameworks_base-074b54fbc0b6254c0ba308e0cf2e86c1cc929348.tar.gz frameworks_base-074b54fbc0b6254c0ba308e0cf2e86c1cc929348.tar.bz2 |
Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index ec99513..1204a89 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -577,11 +577,9 @@ public abstract class BaseStatusBar extends SystemUI implements View expandedLarge = null; Exception exception = null; try { - oneU.setOnClickHandler(mOnClickHandler); - expandedOneU = oneU.apply(mContext, adaptive); + expandedOneU = oneU.apply(mContext, adaptive, mOnClickHandler); if (large != null) { - large.setOnClickHandler(mOnClickHandler); - expandedLarge = large.apply(mContext, adaptive); + expandedLarge = large.apply(mContext, adaptive, mOnClickHandler); } } catch (RuntimeException e) { @@ -872,9 +870,9 @@ public abstract class BaseStatusBar extends SystemUI implements oldEntry.notification = notification; try { // Reapply the RemoteViews - contentView.reapply(mContext, oldEntry.expanded); + contentView.reapply(mContext, oldEntry.expanded, mOnClickHandler); if (bigContentView != null && oldEntry.getLargeView() != null) { - bigContentView.reapply(mContext, oldEntry.getLargeView()); + bigContentView.reapply(mContext, oldEntry.getLargeView(), mOnClickHandler); } // update the contentIntent final PendingIntent contentIntent = notification.notification.contentIntent; |