OSDN Git Service

New sync icon for Phone stat_sys area
authorJustin Ho <justinho@google.com>
Wed, 21 Sep 2011 01:16:48 +0000 (18:16 -0700)
committerJustin Ho <justinho@google.com>
Wed, 21 Sep 2011 01:16:48 +0000 (18:16 -0700)
Bug: 5076774

Change-Id: I06a3d6be5818279b751b411485e8161493eac43c

packages/SystemUI/res/drawable-hdpi/stat_sys_sync.png [new file with mode: 0644]
packages/SystemUI/res/drawable-hdpi/stat_sys_sync_error.png [new file with mode: 0644]
packages/SystemUI/res/drawable-mdpi/stat_sys_sync.png [new file with mode: 0644]
packages/SystemUI/res/drawable-mdpi/stat_sys_sync_error.png [new file with mode: 0644]
packages/SystemUI/res/drawable-xhdpi/stat_sys_sync.png [new file with mode: 0644]
packages/SystemUI/res/drawable-xhdpi/stat_sys_sync_error.png [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java

diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_sync.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_sync.png
new file mode 100644 (file)
index 0000000..ba2d78a
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/stat_sys_sync.png differ
diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_sync_error.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_sync_error.png
new file mode 100644 (file)
index 0000000..1102846
Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/stat_sys_sync_error.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/stat_sys_sync.png b/packages/SystemUI/res/drawable-mdpi/stat_sys_sync.png
new file mode 100644 (file)
index 0000000..6649031
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/stat_sys_sync.png differ
diff --git a/packages/SystemUI/res/drawable-mdpi/stat_sys_sync_error.png b/packages/SystemUI/res/drawable-mdpi/stat_sys_sync_error.png
new file mode 100644 (file)
index 0000000..1b57936
Binary files /dev/null and b/packages/SystemUI/res/drawable-mdpi/stat_sys_sync_error.png differ
diff --git a/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync.png b/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync.png
new file mode 100644 (file)
index 0000000..fb691fc
Binary files /dev/null and b/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync.png differ
diff --git a/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync_error.png b/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync_error.png
new file mode 100644 (file)
index 0000000..0c7ba35
Binary files /dev/null and b/packages/SystemUI/res/drawable-xhdpi/stat_sys_sync_error.png differ
index ee270f9..05e171c 100644 (file)
@@ -165,10 +165,8 @@ public class PhoneStatusBarPolicy {
         mService.setIconVisibility("alarm_clock", false);
 
         // Sync state
-        mService.setIcon("sync_active", com.android.internal.R.drawable.stat_notify_sync_anim0,
-                0, null);
-        mService.setIcon("sync_failing", com.android.internal.R.drawable.stat_notify_sync_error,
-                0, null);
+        mService.setIcon("sync_active", R.drawable.stat_sys_sync, 0, null);
+        mService.setIcon("sync_failing", R.drawable.stat_sys_sync_error, 0, null);
         mService.setIconVisibility("sync_active", false);
         mService.setIconVisibility("sync_failing", false);