summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-10-21 13:28:22 -0400
committerMike Lockwood <lockwood@google.com>2012-02-10 10:51:24 -0800
commitc33d5766610c77296a80dfdc4e302cc2ff794898 (patch)
tree06c3d5fc5b079778b9d7bc61bcb0f8d98e401468 /packages
parent7bef73900b075fc0a9078d418964ca8e7210d565 (diff)
downloadframeworks_base-c33d5766610c77296a80dfdc4e302cc2ff794898.zip
frameworks_base-c33d5766610c77296a80dfdc4e302cc2ff794898.tar.gz
frameworks_base-c33d5766610c77296a80dfdc4e302cc2ff794898.tar.bz2
SystemUI: Log an error instead of throwing an exception if navigation bar is enabled in tablet UI
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index 6287408..5151cad 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -456,8 +456,7 @@ public class TabletStatusBar extends StatusBar implements
// Sanity-check that someone hasn't set up the config wrong and asked for a navigation
// bar on a tablet that has only the system bar
if (mWindowManager.hasNavigationBar()) {
- throw new RuntimeException(
- "Tablet device cannot show navigation bar and system bar");
+ Slog.e(TAG, "Tablet device cannot show navigation bar and system bar");
}
} catch (RemoteException ex) {
}