diff options
author | Mike Lockwood <lockwood@android.com> | 2009-09-30 19:30:56 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-09-30 19:45:51 -0400 |
commit | de46acddf597da5637b99a8a6e52ffd642ae913e (patch) | |
tree | 26eacc1851718b18f0061077ad69ef4b8211cd9b | |
parent | 46e462a380f90ed8101f9ac3f950a3c702772842 (diff) | |
download | frameworks_base-de46acddf597da5637b99a8a6e52ffd642ae913e.zip frameworks_base-de46acddf597da5637b99a8a6e52ffd642ae913e.tar.gz frameworks_base-de46acddf597da5637b99a8a6e52ffd642ae913e.tar.bz2 |
Update SD card notification icons.
Stop using SIM card icons for USB notifications
Fixes b/1700510
Change-Id: Ic7e251a7ecad3ed46044181eae41481791df85bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
-rw-r--r-- | api/current.xml | 11 | ||||
-rw-r--r--[-rwxr-xr-x] | core/res/res/drawable-hdpi/stat_notify_sdcard.png | bin | 905 -> 784 bytes | |||
-rw-r--r-- | core/res/res/drawable-hdpi/stat_notify_sdcard_prepare.png | bin | 0 -> 1811 bytes | |||
-rw-r--r--[-rwxr-xr-x] | core/res/res/drawable-hdpi/stat_notify_sdcard_usb.png | bin | 1173 -> 1270 bytes | |||
-rw-r--r-- | core/res/res/drawable-mdpi/stat_notify_sdcard.png | bin | 539 -> 552 bytes | |||
-rw-r--r-- | core/res/res/drawable-mdpi/stat_notify_sdcard_prepare.png | bin | 0 -> 1046 bytes | |||
-rw-r--r-- | core/res/res/drawable-mdpi/stat_notify_sdcard_usb.png | bin | 704 -> 781 bytes | |||
-rw-r--r-- | core/res/res/values/public.xml | 1 | ||||
-rw-r--r-- | services/java/com/android/server/MountService.java | 4 |
9 files changed, 14 insertions, 2 deletions
diff --git a/api/current.xml b/api/current.xml index e4d6308..673ebe8 100644 --- a/api/current.xml +++ b/api/current.xml @@ -10956,6 +10956,17 @@ visibility="public" > </field> +<field name="stat_notify_sdcard_prepare" + type="int" + transient="false" + volatile="false" + value="17301675" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="stat_notify_sdcard_usb" type="int" transient="false" diff --git a/core/res/res/drawable-hdpi/stat_notify_sdcard.png b/core/res/res/drawable-hdpi/stat_notify_sdcard.png Binary files differindex 320d63d..d3b624b 100755..100644 --- a/core/res/res/drawable-hdpi/stat_notify_sdcard.png +++ b/core/res/res/drawable-hdpi/stat_notify_sdcard.png diff --git a/core/res/res/drawable-hdpi/stat_notify_sdcard_prepare.png b/core/res/res/drawable-hdpi/stat_notify_sdcard_prepare.png Binary files differnew file mode 100644 index 0000000..a483ba2 --- /dev/null +++ b/core/res/res/drawable-hdpi/stat_notify_sdcard_prepare.png diff --git a/core/res/res/drawable-hdpi/stat_notify_sdcard_usb.png b/core/res/res/drawable-hdpi/stat_notify_sdcard_usb.png Binary files differindex 1b49692..a5e369e 100755..100644 --- a/core/res/res/drawable-hdpi/stat_notify_sdcard_usb.png +++ b/core/res/res/drawable-hdpi/stat_notify_sdcard_usb.png diff --git a/core/res/res/drawable-mdpi/stat_notify_sdcard.png b/core/res/res/drawable-mdpi/stat_notify_sdcard.png Binary files differindex feac3b7..23093ac 100644 --- a/core/res/res/drawable-mdpi/stat_notify_sdcard.png +++ b/core/res/res/drawable-mdpi/stat_notify_sdcard.png diff --git a/core/res/res/drawable-mdpi/stat_notify_sdcard_prepare.png b/core/res/res/drawable-mdpi/stat_notify_sdcard_prepare.png Binary files differnew file mode 100644 index 0000000..9abb1c9 --- /dev/null +++ b/core/res/res/drawable-mdpi/stat_notify_sdcard_prepare.png diff --git a/core/res/res/drawable-mdpi/stat_notify_sdcard_usb.png b/core/res/res/drawable-mdpi/stat_notify_sdcard_usb.png Binary files differindex 6de4043..9880694 100644 --- a/core/res/res/drawable-mdpi/stat_notify_sdcard_usb.png +++ b/core/res/res/drawable-mdpi/stat_notify_sdcard_usb.png diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index 8807665..52e3200 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -1193,4 +1193,5 @@ can be seen. --> <public type="drawable" name="screen_background_dark_transparent" /> <public type="drawable" name="screen_background_light_transparent" /> + <public type="drawable" name="stat_notify_sdcard_prepare" /> </resources> diff --git a/services/java/com/android/server/MountService.java b/services/java/com/android/server/MountService.java index f85d931..204389e 100644 --- a/services/java/com/android/server/MountService.java +++ b/services/java/com/android/server/MountService.java @@ -313,7 +313,7 @@ class MountService extends IMountService.Stub { setMediaStorageNotification( com.android.internal.R.string.ext_media_safe_unmount_notification_title, com.android.internal.R.string.ext_media_safe_unmount_notification_message, - com.android.internal.R.drawable.stat_notify_sim_toolkit, + com.android.internal.R.drawable.stat_notify_sdcard, true, true, null); mShowSafeUnmountNotificationWhenUnmounted = false; } else { @@ -333,7 +333,7 @@ class MountService extends IMountService.Stub { setMediaStorageNotification( com.android.internal.R.string.ext_media_checking_notification_title, com.android.internal.R.string.ext_media_checking_notification_message, - com.android.internal.R.drawable.stat_notify_sim_toolkit, + com.android.internal.R.drawable.stat_notify_sdcard_prepare, true, false, null); updateUsbMassStorageNotification(true, false); |