OSDN Git Service

Fix home button
authorJason Monk <jmonk@google.com>
Fri, 22 Jan 2016 15:23:51 +0000 (10:23 -0500)
committerJason Monk <jmonk@google.com>
Fri, 22 Jan 2016 15:24:04 +0000 (10:24 -0500)
Change-Id: Ieafff8758340c1a434eed595ecb56415ed9ae62d

packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

index 9e66584..839b579 100644 (file)
@@ -393,7 +393,7 @@ public class NavigationBarView extends LinearLayout {
         }
 
         getBackButton().setVisibility(disableBack      ? View.INVISIBLE : View.VISIBLE);
-        getRecentsButton().setVisibility(disableHome   ? View.INVISIBLE : View.VISIBLE);
+        getHomeButton().setVisibility(disableHome      ? View.INVISIBLE : View.VISIBLE);
         getRecentsButton().setVisibility(disableRecent ? View.INVISIBLE : View.VISIBLE);
 
         // The app shelf, if it exists, follows the visibility of the home button.