From 62a1eb8972f6eb1133060ae96142abcd57d347dd Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Thu, 26 Jan 2012 10:22:23 -0500 Subject: [PATCH] Suppress mobile-out-of-service label if wifi connected. Carrier name is shown if - in service and connected to mobile data - in service and connected to wifi Carrier name is blanked if out of service and connected to wifi. "No internet connection" is shown if out of service without any other route. Bug: 5903914 Change-Id: I59d4d0c90e4153d73c38f7f0e150becf7e021a5b --- .../status_bar_notification_panel_title.xml | 4 +-- .../statusbar/policy/NetworkController.java | 25 +++++++++++++------ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/packages/SystemUI/res/layout-sw600dp/status_bar_notification_panel_title.xml b/packages/SystemUI/res/layout-sw600dp/status_bar_notification_panel_title.xml index ef959360130d7..b985aaf81ba19 100644 --- a/packages/SystemUI/res/layout-sw600dp/status_bar_notification_panel_title.xml +++ b/packages/SystemUI/res/layout-sw600dp/status_bar_notification_panel_title.xml @@ -63,6 +63,7 @@ android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_gravity="center_vertical" + android:paddingRight="6dp" >