Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 7e40d594ebda0340fc5bd862b1943fc565c52d41 1 parent 0020fa5
Mike Wilson authored October 19, 2012
2  packages/SystemUI/src/com/android/systemui/statusbar/phone/
@@ -812,7 +812,7 @@ public void reorient() {
812 812
813 813
     protected void onLayout(boolean changed, int l, int t, int r, int b) {
814 814
         super.onLayout(changed, l, t, r, b);
-        mDelegateHelper.setInitialTouchRegion(getHomeButton(), getBackButton(), getRecentsButton());
+        mDelegateHelper.setInitialTouchRegion(this);
816 816
817 817
818 818

Git Notes


Code-Review+2: Gergely Szell (sethyx) <>
Verified+1: Gergely Szell (sethyx) <>
Submitted-by: Gergely Szell (sethyx) <>
Submitted-at: Sun, 28 Oct 2012 23:29:08 +0000
Project: AOKP/frameworks_base
Branch: refs/heads/jb

0 notes on commit 7e40d59

Please sign in to comment.
Something went wrong with that request. Please try again.