Browse files

SystemUI: Fix NavRing inflate

NavRing is set to inflate on Home/Back/recents buttons by
default, since this is stock layout.
With custom Navbar, different button layouts can present conditions
where the NavRing either only inflates in limited areas (swipes) or not
at all (if no home/recents/back button was used.  This little
patch sets the entire NavBar as the delegate area so that  regardless
of the the buttons assigned, NavRing will still respond

Change-Id: I67e22bf6c02264d87a1b95cf3b51a8eee4c72453
Signed-off-by: Zaphod <>
  • Loading branch information...
1 parent 0020fa5 commit 7e40d594ebda0340fc5bd862b1943fc565c52d41 @Zaphod-Beeblebrox Zaphod-Beeblebrox committed Oct 19, 2012
@@ -812,7 +812,7 @@ public void reorient() {
protected void onLayout(boolean changed, int l, int t, int r, int b) {
super.onLayout(changed, l, t, r, b);
- mDelegateHelper.setInitialTouchRegion(getHomeButton(), getBackButton(), getRecentsButton());
+ mDelegateHelper.setInitialTouchRegion(this);

0 comments on commit 7e40d59

Please sign in to comment.