Skip to content

Commit

Permalink
Remove useless png and add vector drawable
Browse files Browse the repository at this point in the history
Bug: 139336138
Test: visual
Change-Id: I5ccf4855b63f47b138a1662317d0c4ba8ce8984c
  • Loading branch information
Raff Tsai committed Aug 15, 2019
1 parent 4eafc5a commit cf14898
Show file tree
Hide file tree
Showing 40 changed files with 29 additions and 26 deletions.
Binary file removed res/drawable-hdpi/ic_network_signal_0.png
Binary file not shown.
Binary file removed res/drawable-hdpi/ic_network_signal_1.png
Binary file not shown.
Binary file removed res/drawable-hdpi/ic_network_signal_2.png
Binary file not shown.
Binary file removed res/drawable-hdpi/ic_network_signal_3.png
Binary file not shown.
Binary file removed res/drawable-hdpi/ic_network_signal_4.png
Binary file not shown.
Binary file removed res/drawable-hdpi/ic_sim_card_alert_white_48dp.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-hdpi/ic_network_signal_0.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-hdpi/ic_network_signal_1.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-hdpi/ic_network_signal_2.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-hdpi/ic_network_signal_3.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-hdpi/ic_network_signal_4.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-mdpi/ic_network_signal_0.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-mdpi/ic_network_signal_1.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-mdpi/ic_network_signal_2.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-mdpi/ic_network_signal_3.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-mdpi/ic_network_signal_4.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-xhdpi/ic_network_signal_0.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-xhdpi/ic_network_signal_1.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-xhdpi/ic_network_signal_2.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-xhdpi/ic_network_signal_3.png
Binary file not shown.
Binary file removed res/drawable-ldrtl-xhdpi/ic_network_signal_4.png
Binary file not shown.
Binary file removed res/drawable-mdpi/ic_network_signal_0.png
Binary file not shown.
Binary file removed res/drawable-mdpi/ic_network_signal_1.png
Binary file not shown.
Binary file removed res/drawable-mdpi/ic_network_signal_2.png
Binary file not shown.
Binary file removed res/drawable-mdpi/ic_network_signal_3.png
Binary file not shown.
Binary file removed res/drawable-mdpi/ic_network_signal_4.png
Diff not rendered.
Binary file removed res/drawable-mdpi/ic_sim_card_alert_white_48dp.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_network_signal_0.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_network_signal_1.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_network_signal_2.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_network_signal_3.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_network_signal_4.png
Diff not rendered.
Binary file removed res/drawable-xhdpi/ic_sim_card_alert_white_48dp.png
Diff not rendered.
Binary file removed res/drawable-xxhdpi/ic_network_signal_4.png
Diff not rendered.
Binary file removed res/drawable-xxhdpi/ic_sim_card_alert_white_48dp.png
Diff not rendered.
Binary file removed res/drawable-xxxhdpi/ic_network_signal_4.png
Diff not rendered.
Binary file removed res/drawable-xxxhdpi/ic_sim_card_alert_white_48dp.png
Diff not rendered.
27 changes: 27 additions & 0 deletions res/drawable/ic_sim_alert.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="m4.8578,21.8264c-0.2247,-0.137 -0.5206,-0.4329 -0.6575,-0.6575 -0.2399,-0.3935 -0.2491,-0.6433 -0.2495,-6.7995l-0.0005,-6.391 2.9757,-2.9776 2.9757,-2.9776 4.3876,0.0005c4.1571,0.0004 4.4091,0.0135 4.7961,0.2495 0.2247,0.137 0.5206,0.4329 0.6575,0.6575 0.2422,0.3972 0.2491,0.6479 0.2491,9.1192 0,8.4712 -0.007,8.7219 -0.2491,9.1191 -0.137,0.2247 -0.4329,0.5206 -0.6575,0.6575 -0.3942,0.2403 -0.6436,0.2491 -7.1138,0.2491 -6.4703,0 -6.7197,-0.009 -7.1138,-0.2491zM12.9743,16.0604v-1.0027h-1.0027,-1.0027v1.0027,1.0027h1.0027,1.0027zM12.9743,10.5457L12.9743,8.039h-1.0027,-1.0027v2.5067,2.5067h1.0027,1.0027z"
android:strokeWidth="0.12533334"
android:fillColor="#ffffff"/>
</vector>

24 changes: 0 additions & 24 deletions res/drawable/signal.xml

This file was deleted.

4 changes: 2 additions & 2 deletions src/com/android/settings/sim/SimSelectNotification.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private void createSimSelectNotification(Context context){

Notification.Builder builder =
new Notification.Builder(context, SIM_SELECT_NOTIFICATION_CHANNEL)
.setSmallIcon(R.drawable.ic_sim_card_alert_white_48dp)
.setSmallIcon(R.drawable.ic_sim_alert)
.setColor(context.getColor(R.color.sim_noitification))
.setContentTitle(resources.getText(R.string.sim_notification_title))
.setContentText(resources.getText(R.string.sim_notification_summary))
Expand Down Expand Up @@ -282,7 +282,7 @@ private void createSimCombinationWarningNotification(Context context, Intent int

Notification.Builder builder =
new Notification.Builder(context, SIM_WARNING_NOTIFICATION_CHANNEL)
.setSmallIcon(R.drawable.ic_sim_card_alert_white_48dp)
.setSmallIcon(R.drawable.ic_sim_alert)
.setColor(context.getColor(R.color.sim_noitification))
.setContentTitle(resources.getText(
R.string.sim_combination_warning_notification_title))
Expand Down

0 comments on commit cf14898

Please sign in to comment.