diff options
author | Dan Sandler <dsandler@android.com> | 2014-05-29 11:02:41 -0400 |
---|---|---|
committer | Dan Sandler <dsandler@android.com> | 2014-05-29 11:02:41 -0400 |
commit | 6fdeeb34ae1be8ef7579456b443befd7e9b92ac0 (patch) | |
tree | 7d32626f5cdeaaf02be297db63941c72439aac43 | |
parent | 7ee26070eaa4a8b1cde8e265c7136fba7e79a172 (diff) | |
download | frameworks_base-6fdeeb34ae1be8ef7579456b443befd7e9b92ac0.zip frameworks_base-6fdeeb34ae1be8ef7579456b443befd7e9b92ac0.tar.gz frameworks_base-6fdeeb34ae1be8ef7579456b443befd7e9b92ac0.tar.bz2 |
Use DecorToolbar.getViewGroup() to get the view properly.
Bug: 15320825
Change-Id: Ib7e162c816fadf2b5c83af1326e7158f6bd69c8e
-rw-r--r-- | core/java/com/android/internal/app/WindowDecorActionBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/app/WindowDecorActionBar.java b/core/java/com/android/internal/app/WindowDecorActionBar.java index a0c75a6..5c7a4e6 100644 --- a/core/java/com/android/internal/app/WindowDecorActionBar.java +++ b/core/java/com/android/internal/app/WindowDecorActionBar.java @@ -342,7 +342,7 @@ public class WindowDecorActionBar extends ActionBar implements @Override public void setCustomView(int resId) { setCustomView(LayoutInflater.from(getThemedContext()).inflate(resId, - (ViewGroup) mDecorToolbar, false)); + mDecorToolbar.getViewGroup(), false)); } @Override |