OSDN Git Service

Use new vibrate icon in power menu.
authorDaniel Sandler <dsandler@google.com>
Fri, 5 Mar 2010 14:34:52 +0000 (09:34 -0500)
committerDaniel Sandler <dsandler@google.com>
Fri, 5 Mar 2010 14:34:52 +0000 (09:34 -0500)
Change-Id: I54725ae73bac731a2078a9c61d75d77c0cbb3680

phone/com/android/internal/policy/impl/GlobalActions.java

index b10bda2..1f06dcc 100644 (file)
@@ -128,7 +128,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
                 // XXX: FIXME: switch to ic_lock_vibrate_mode when available
                 mEnabledIconResId = (Settings.System.getInt(mContext.getContentResolver(),
                         Settings.System.VIBRATE_IN_SILENT, 1) == 1)
-                    ? R.drawable.ic_lock_silent_mode
+                    ? R.drawable.ic_lock_silent_mode_vibrate
                     : R.drawable.ic_lock_silent_mode;
             }