diff --git a/packages/SystemUI/res/drawable-hdpi/stat_notify_more.png b/packages/SystemUI/res/drawable-hdpi/stat_notify_more.png deleted file mode 100644 index 2fa0293d692c8..0000000000000 Binary files a/packages/SystemUI/res/drawable-hdpi/stat_notify_more.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_device_access_location_found.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_device_access_location_found.png deleted file mode 100644 index d43d1dc7e0e5d..0000000000000 Binary files a/packages/SystemUI/res/drawable-hdpi/stat_sys_device_access_location_found.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index dcf86c04b9973..0000000000000 Binary files a/packages/SystemUI/res/drawable-hdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-ldrtl-hdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-ldrtl-hdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 5171333c3b7d9..0000000000000 Binary files a/packages/SystemUI/res/drawable-ldrtl-hdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-ldrtl-mdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-ldrtl-mdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 1b4576249a958..0000000000000 Binary files a/packages/SystemUI/res/drawable-ldrtl-mdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-ldrtl-xhdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-ldrtl-xhdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index fcbfac1890ae8..0000000000000 Binary files a/packages/SystemUI/res/drawable-ldrtl-xhdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-ldrtl-xxhdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-ldrtl-xxhdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 455573122e8da..0000000000000 Binary files a/packages/SystemUI/res/drawable-ldrtl-xxhdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-mdpi/stat_notify_more.png b/packages/SystemUI/res/drawable-mdpi/stat_notify_more.png deleted file mode 100644 index d7a48f26d9008..0000000000000 Binary files a/packages/SystemUI/res/drawable-mdpi/stat_notify_more.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-mdpi/stat_sys_device_access_location_found.png b/packages/SystemUI/res/drawable-mdpi/stat_sys_device_access_location_found.png deleted file mode 100644 index 61d75110ca38e..0000000000000 Binary files a/packages/SystemUI/res/drawable-mdpi/stat_sys_device_access_location_found.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-mdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-mdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 14d106072c760..0000000000000 Binary files a/packages/SystemUI/res/drawable-mdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xhdpi/stat_notify_more.png b/packages/SystemUI/res/drawable-xhdpi/stat_notify_more.png deleted file mode 100644 index 64327ba3a1bbc..0000000000000 Binary files a/packages/SystemUI/res/drawable-xhdpi/stat_notify_more.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xhdpi/stat_sys_device_access_location_found.png b/packages/SystemUI/res/drawable-xhdpi/stat_sys_device_access_location_found.png deleted file mode 100644 index 192d3f7bbad8c..0000000000000 Binary files a/packages/SystemUI/res/drawable-xhdpi/stat_sys_device_access_location_found.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 95c217cdcdd5f..0000000000000 Binary files a/packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xxhdpi/stat_notify_more.png b/packages/SystemUI/res/drawable-xxhdpi/stat_notify_more.png deleted file mode 100644 index 3c33a565af87c..0000000000000 Binary files a/packages/SystemUI/res/drawable-xxhdpi/stat_notify_more.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xxhdpi/stat_sys_device_access_location_found.png b/packages/SystemUI/res/drawable-xxhdpi/stat_sys_device_access_location_found.png deleted file mode 100644 index 1e5f15fc83729..0000000000000 Binary files a/packages/SystemUI/res/drawable-xxhdpi/stat_sys_device_access_location_found.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable-xxhdpi/stat_sys_signal_flightmode.png b/packages/SystemUI/res/drawable-xxhdpi/stat_sys_signal_flightmode.png deleted file mode 100644 index 155c222828c39..0000000000000 Binary files a/packages/SystemUI/res/drawable-xxhdpi/stat_sys_signal_flightmode.png and /dev/null differ diff --git a/packages/SystemUI/res/drawable/stat_sys_no_sim.xml b/packages/SystemUI/res/drawable/ic_qs_no_sim.xml similarity index 94% rename from packages/SystemUI/res/drawable/stat_sys_no_sim.xml rename to packages/SystemUI/res/drawable/ic_qs_no_sim.xml index 22d1d4b8beac5..bd46012a98f93 100644 --- a/packages/SystemUI/res/drawable/stat_sys_no_sim.xml +++ b/packages/SystemUI/res/drawable/ic_qs_no_sim.xml @@ -14,8 +14,8 @@ Copyright (C) 2014 The Android Open Source Project limitations under the License. --> diff --git a/packages/SystemUI/res/drawable/stat_notify_more.xml b/packages/SystemUI/res/drawable/stat_notify_more.xml new file mode 100644 index 0000000000000..50f12861afe88 --- /dev/null +++ b/packages/SystemUI/res/drawable/stat_notify_more.xml @@ -0,0 +1,24 @@ + + + + diff --git a/packages/SystemUI/res/drawable/stat_sys_airplane_mode.xml b/packages/SystemUI/res/drawable/stat_sys_airplane_mode.xml new file mode 100644 index 0000000000000..433da5f4e4c2e --- /dev/null +++ b/packages/SystemUI/res/drawable/stat_sys_airplane_mode.xml @@ -0,0 +1,28 @@ + + + + + + diff --git a/packages/SystemUI/res/drawable/stat_sys_alarm.xml b/packages/SystemUI/res/drawable/stat_sys_alarm.xml index 3b2bc31ff4c23..57545691b4f6e 100644 --- a/packages/SystemUI/res/drawable/stat_sys_alarm.xml +++ b/packages/SystemUI/res/drawable/stat_sys_alarm.xml @@ -13,13 +13,17 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> - + + - - + + + \ No newline at end of file diff --git a/packages/SystemUI/res/drawable/stat_sys_cast.xml b/packages/SystemUI/res/drawable/stat_sys_cast.xml index c9e65e029ed22..df28638c64c83 100644 --- a/packages/SystemUI/res/drawable/stat_sys_cast.xml +++ b/packages/SystemUI/res/drawable/stat_sys_cast.xml @@ -13,13 +13,16 @@ Copyright (C) 2014 The Android Open Source Project See the License for the specific language governing permissions and limitations under the License. --> - + + - - + + + diff --git a/packages/SystemUI/res/drawable/stat_sys_data_bluetooth.xml b/packages/SystemUI/res/drawable/stat_sys_data_bluetooth.xml index f53f0e4729dfd..e2d3539376c9e 100644 --- a/packages/SystemUI/res/drawable/stat_sys_data_bluetooth.xml +++ b/packages/SystemUI/res/drawable/stat_sys_data_bluetooth.xml @@ -14,8 +14,8 @@ Copyright (C) 2014 The Android Open Source Project limitations under the License. --> diff --git a/packages/SystemUI/res/drawable/stat_sys_data_bluetooth_connected.xml b/packages/SystemUI/res/drawable/stat_sys_data_bluetooth_connected.xml index 2aac4ee03c3c9..94c40babd3467 100644 --- a/packages/SystemUI/res/drawable/stat_sys_data_bluetooth_connected.xml +++ b/packages/SystemUI/res/drawable/stat_sys_data_bluetooth_connected.xml @@ -14,8 +14,8 @@ Copyright (C) 2014 The Android Open Source Project limitations under the License. --> diff --git a/packages/SystemUI/res/drawable/stat_sys_data_fully_connected_1x.xml b/packages/SystemUI/res/drawable/stat_sys_data_fully_connected_1x.xml index 26d263268c7f9..d7463a446657e 100644 --- a/packages/SystemUI/res/drawable/stat_sys_data_fully_connected_1x.xml +++ b/packages/SystemUI/res/drawable/stat_sys_data_fully_connected_1x.xml @@ -14,8 +14,8 @@ Copyright (C) 2014 The Android Open Source Project limitations under the License. --> + + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/drawable/stat_sys_ringer_vibrate.xml b/packages/SystemUI/res/drawable/stat_sys_ringer_vibrate.xml index 352d86ff8c66d..f017d58087683 100644 --- a/packages/SystemUI/res/drawable/stat_sys_ringer_vibrate.xml +++ b/packages/SystemUI/res/drawable/stat_sys_ringer_vibrate.xml @@ -13,13 +13,16 @@ Copyright (C) 2014 The Android Open Source Project See the License for the specific language governing permissions and limitations under the License. --> - + + - - + + + \ No newline at end of file diff --git a/packages/SystemUI/res/drawable/stat_sys_signal_0.xml b/packages/SystemUI/res/drawable/stat_sys_signal_0.xml index 67d925932246f..e1e81fd965bf2 100644 --- a/packages/SystemUI/res/drawable/stat_sys_signal_0.xml +++ b/packages/SystemUI/res/drawable/stat_sys_signal_0.xml @@ -15,8 +15,8 @@ Copyright (C) 2014 The Android Open Source Project --> - + + - - + + + diff --git a/packages/SystemUI/res/drawable/stat_sys_zen_none.xml b/packages/SystemUI/res/drawable/stat_sys_zen_none.xml index d8ab078c14a84..7573de0d6e65f 100644 --- a/packages/SystemUI/res/drawable/stat_sys_zen_none.xml +++ b/packages/SystemUI/res/drawable/stat_sys_zen_none.xml @@ -13,13 +13,16 @@ Copyright (C) 2014 The Android Open Source Project See the License for the specific language governing permissions and limitations under the License. --> - + + - - + + + diff --git a/packages/SystemUI/res/layout/keyguard_status_bar.xml b/packages/SystemUI/res/layout/keyguard_status_bar.xml index faa2820aae354..b5f917a4e574b 100644 --- a/packages/SystemUI/res/layout/keyguard_status_bar.xml +++ b/packages/SystemUI/res/layout/keyguard_status_bar.xml @@ -44,7 +44,7 @@ android:layout_toStartOf="@id/multi_user_switch" android:layout_alignWithParentIfMissing="true" android:layout_marginStart="16dp" - android:paddingEnd="2dp"> + android:paddingEnd="@dimen/system_icons_keyguard_padding_end"> - - + @@ -91,7 +91,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:singleLine="true" - android:paddingStart="6dip" + android:paddingStart="7dp" android:gravity="center_vertical|start" /> diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index 7ad3a89ce0d18..34e062c062dda 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -60,7 +60,7 @@ android:layout_alignWithParentIfMissing="true" android:layout_marginStart="16dp" android:background="@drawable/ripple_drawable" - android:paddingEnd="2dp" > + android:paddingEnd="4dp" > + android:layout_marginStart="2.5dp"/> + android:layout_height="14.5dp" + android:layout_width="9.5dp" + android:layout_marginStart="7dp"/> \ No newline at end of file diff --git a/packages/SystemUI/res/values-hdpi/dimens.xml b/packages/SystemUI/res/values-hdpi/dimens.xml new file mode 100644 index 0000000000000..799619f46c3eb --- /dev/null +++ b/packages/SystemUI/res/values-hdpi/dimens.xml @@ -0,0 +1,21 @@ + + + + + + 10.5% + diff --git a/packages/SystemUI/res/values-mdpi/dimens.xml b/packages/SystemUI/res/values-mdpi/dimens.xml new file mode 100644 index 0000000000000..7667f3e5b56f6 --- /dev/null +++ b/packages/SystemUI/res/values-mdpi/dimens.xml @@ -0,0 +1,20 @@ + + + + + 12% + diff --git a/packages/SystemUI/res/values-sw600dp/dimens.xml b/packages/SystemUI/res/values-sw600dp/dimens.xml index 9901e444216f3..74a98fc2243f7 100644 --- a/packages/SystemUI/res/values-sw600dp/dimens.xml +++ b/packages/SystemUI/res/values-sw600dp/dimens.xml @@ -81,4 +81,7 @@ 80dp 90dp + + + 2dp diff --git a/packages/SystemUI/res/values-tvdpi/dimens.xml b/packages/SystemUI/res/values-tvdpi/dimens.xml new file mode 100644 index 0000000000000..7667f3e5b56f6 --- /dev/null +++ b/packages/SystemUI/res/values-tvdpi/dimens.xml @@ -0,0 +1,20 @@ + + + + + 12% + diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index d3cebd45345c7..122a7289f482e 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -73,6 +73,9 @@ @*android:dimen/status_bar_icon_size + + 14sp + 64dp @@ -86,10 +89,10 @@ 44dp - 18dip + 17dip - 75% + 90% 0dp @@ -405,8 +408,8 @@ 14sp - - 4dp + + 2dp 12dp @@ -419,11 +422,14 @@ 16dp - 8dp + 6dp 6dp + + 4dp + 200dp @@ -461,4 +467,6 @@ 2dp + + 10.5% diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index efd4fb4b47e86..cb66e7a1b1feb 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -69,8 +69,7 @@ diff --git a/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java b/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java index 5e2f784ec96ca..d24ec66bf7426 100755 --- a/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java +++ b/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java @@ -46,12 +46,13 @@ public class BatteryMeterView extends View implements DemoMode, private static final int FULL = 96; - private static final float SUBPIXEL = 0.4f; // inset rects for softer edges + private static final float SUBPIXEL = 0.33f; // inset rects for softer edges private static final float BOLT_LEVEL_THRESHOLD = 0.3f; // opaque bolt below this fraction private final int[] mColors; boolean mShowPercent = true; + private float mButtonHeightFraction; private final Paint mFramePaint, mBatteryPaint, mWarningTextPaint, mTextPaint, mBoltPaint; private float mTextHeight, mWarningTextHeight; @@ -205,6 +206,8 @@ public class BatteryMeterView extends View implements DemoMode, mWarningString = context.getString(R.string.battery_meter_very_low_overlay_symbol); mCriticalLevel = mContext.getResources().getInteger( com.android.internal.R.integer.config_criticalBatteryWarningLevel); + mButtonHeightFraction = context.getResources().getFraction( + R.fraction.battery_button_height_fraction, 1, 1); mFramePaint = new Paint(Paint.ANTI_ALIAS_FLAG); mFramePaint.setColor(frameColor); @@ -304,7 +307,7 @@ public class BatteryMeterView extends View implements DemoMode, final int height = mHeight - pt - pb; final int width = mWidth - pl - pr; - final int buttonHeight = (int) (height * 0.12f); + final int buttonHeight = (int) (height * mButtonHeightFraction); mFrame.set(0, 0, width, height); mFrame.offset(pl, pt); diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/CellularTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/CellularTile.java index 98adf8140c431..8743207954a5b 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/CellularTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/CellularTile.java @@ -91,7 +91,7 @@ public class CellularTile extends QSTile { if (cb == null) return; final Resources r = mContext.getResources(); - state.iconId = cb.noSim ? R.drawable.stat_sys_no_sim + state.iconId = cb.noSim ? R.drawable.ic_qs_no_sim : !cb.enabled || cb.airplaneModeEnabled ? R.drawable.ic_qs_signal_disabled : cb.mobileSignalIconId > 0 ? cb.mobileSignalIconId : R.drawable.ic_qs_signal_no_signal; @@ -99,7 +99,7 @@ public class CellularTile extends QSTile { state.overlayIconId = cb.enabled && (cb.dataTypeIconId > 0) && !cb.wifiConnected ? cb.dataTypeIconId : 0; - state.filter = state.iconId != R.drawable.stat_sys_no_sim; + state.filter = state.iconId != R.drawable.ic_qs_no_sim; state.activityIn = cb.enabled && cb.activityIn; state.activityOut = cb.enabled && cb.activityOut; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java index 9da209a3f490a..5883c26e18a51 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/SignalClusterView.java @@ -49,7 +49,7 @@ public class SignalClusterView ViewGroup mWifiGroup, mMobileGroup; ImageView mWifi, mMobile, mMobileType, mAirplane; - View mSpacer; + View mWifiAirplaneSpacer; public SignalClusterView(Context context) { this(context, null); @@ -77,8 +77,8 @@ public class SignalClusterView mMobileGroup = (ViewGroup) findViewById(R.id.mobile_combo); mMobile = (ImageView) findViewById(R.id.mobile_signal); mMobileType = (ImageView) findViewById(R.id.mobile_type); - mSpacer = findViewById(R.id.spacer); mAirplane = (ImageView) findViewById(R.id.airplane); + mWifiAirplaneSpacer = findViewById(R.id.wifi_airplane_spacer); apply(); } @@ -90,7 +90,6 @@ public class SignalClusterView mMobileGroup = null; mMobile = null; mMobileType = null; - mSpacer = null; mAirplane = null; super.onDetachedFromWindow(); @@ -198,10 +197,10 @@ public class SignalClusterView mAirplane.setVisibility(View.GONE); } - if (mMobileVisible && mWifiVisible && mIsAirplaneMode) { - mSpacer.setVisibility(View.INVISIBLE); + if (mIsAirplaneMode && mWifiVisible) { + mWifiAirplaneSpacer.setVisibility(View.VISIBLE); } else { - mSpacer.setVisibility(View.GONE); + mWifiAirplaneSpacer.setVisibility(View.GONE); } if (DEBUG) Log.d(TAG, diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index ad775cbf99939..00e979093cfb9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -112,6 +112,7 @@ import com.android.keyguard.ViewMediatorCallback; import com.android.systemui.BatteryMeterView; import com.android.systemui.DemoMode; import com.android.systemui.EventLogTags; +import com.android.systemui.FontSizeUtils; import com.android.systemui.R; import com.android.systemui.doze.DozeService; import com.android.systemui.keyguard.KeyguardViewMediator; @@ -1228,11 +1229,12 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, + " icon=" + icon); StatusBarIconView view = new StatusBarIconView(mContext, slot, null); view.set(icon); - mStatusIcons.addView(view, viewIndex, new LinearLayout.LayoutParams(mIconSize, mIconSize)); + mStatusIcons.addView(view, viewIndex, new LinearLayout.LayoutParams( + LayoutParams.WRAP_CONTENT, mIconSize)); view = new StatusBarIconView(mContext, slot, null); view.set(icon); - mStatusIconsKeyguard.addView(view, viewIndex, - new LinearLayout.LayoutParams(mIconSize, mIconSize)); + mStatusIconsKeyguard.addView(view, viewIndex, new LinearLayout.LayoutParams( + LayoutParams.WRAP_CONTENT, mIconSize)); } public void updateIcon(String slot, int index, int viewIndex, @@ -3057,6 +3059,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, updateDisplaySize(); // populates mDisplayMetrics updateResources(); + updateClockSize(); repositionNavigationBar(); updateExpandedViewPos(EXPANDED_LEAVE_ALONE); updateShowSearchHoldoff(); @@ -3128,6 +3131,13 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, } } + private void updateClockSize() { + if (mStatusBarView == null) return; + TextView clock = (TextView) mStatusBarView.findViewById(R.id.clock); + if (clock != null) { + FontSizeUtils.updateFontSize(clock, R.dimen.status_bar_clock_size); + } + } protected void loadDimens() { final Resources res = mContext.getResources(); diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java index 10f457aec2cc0..d9a3e1459ac9e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java @@ -46,7 +46,8 @@ public class KeyButtonView extends ImageView { private static final String TAG = "StatusBar.KeyButtonView"; private static final boolean DEBUG = false; - public static final float DEFAULT_QUIESCENT_ALPHA = 0.70f; + // TODO: Get rid of this + public static final float DEFAULT_QUIESCENT_ALPHA = 1f; private long mDownTime; private int mCode; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/LocationControllerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/LocationControllerImpl.java index d5b2548fc0f0f..61ed095a955ef 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/LocationControllerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/LocationControllerImpl.java @@ -42,8 +42,7 @@ public class LocationControllerImpl extends BroadcastReceiver implements Locatio // The name of the placeholder corresponding to the location request status icon. // This string corresponds to config_statusBarIcons in core/res/res/values/config.xml. public static final String LOCATION_STATUS_ICON_PLACEHOLDER = "location"; - public static final int LOCATION_STATUS_ICON_ID - = R.drawable.stat_sys_device_access_location_found; + public static final int LOCATION_STATUS_ICON_ID = R.drawable.stat_sys_location; private static final int[] mHighPowerRequestAppOpArray = new int[] {AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION}; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java index 9b59814d13c72..4a6f1a827e71c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java @@ -63,7 +63,7 @@ public class NetworkControllerImpl extends BroadcastReceiver static final boolean DEBUG = false; static final boolean CHATTY = false; // additional diagnostics, but not logspew - private static final int FLIGHT_MODE_ICON = R.drawable.stat_sys_signal_flightmode; + private static final int FLIGHT_MODE_ICON = R.drawable.stat_sys_airplane_mode; private static final int ROAMING_ICON = R.drawable.stat_sys_data_fully_connected_roam; // telephony @@ -833,7 +833,7 @@ public class NetworkControllerImpl extends BroadcastReceiver visible = false; } } else { - iconId = R.drawable.stat_sys_no_sim; + iconId = 0; mNoSim = true; visible = false; // no SIM? no data }