diff options
author | Adam Powell <adamp@google.com> | 2010-12-05 18:22:52 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2010-12-05 18:29:10 -0800 |
commit | 7e06ea80f781b26e17d630ccbb08237be2541f36 (patch) | |
tree | 19981103bac84f5ee132f2f7a8c49bebf49d93f6 /policy/src | |
parent | d94d6e77037ab58dd950c7c2379a0d3b73498807 (diff) | |
download | frameworks_base-7e06ea80f781b26e17d630ccbb08237be2541f36.zip frameworks_base-7e06ea80f781b26e17d630ccbb08237be2541f36.tar.gz frameworks_base-7e06ea80f781b26e17d630ccbb08237be2541f36.tar.bz2 |
Fix bug 3245210 - Bad window style for action modes for light holo dialog theme
Also fixed some issues with the overlay action mode window styles.
Change-Id: Ie4cf43f6ccf720ef0090ca8bd667fb6d78152f93
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index b487d92..5faece7 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -1881,7 +1881,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { if (mActionModeView == null) { if (hasFeature(FEATURE_ACTION_MODE_OVERLAY)) { mActionModeView = new ActionBarContextView(mContext); - mActionModePopup = new PopupWindow(mContext); + mActionModePopup = new PopupWindow(mContext, null, + com.android.internal.R.attr.actionModePopupWindowStyle); mActionModePopup.setLayoutInScreenEnabled(true); mActionModePopup.setClippingEnabled(false); mActionModePopup.setContentView(mActionModeView); |