Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c33d5766 authored by Mike Lockwood's avatar Mike Lockwood Committed by Mike Lockwood
Browse files

SystemUI: Log an error instead of throwing an exception if navigation bar is enabled in tablet UI

parent 7bef7390
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {
        }