frameworks/base
Revision | 3da0876ee78b75520ae356777f272b4cb13c9d83 (tree) |
---|---|
Time | 2009-06-11 05:28:56 |
Author | Android Code Review <code-review@andr...> |
Commiter | Android Code Review |
Merge change 10328
* changes:
@@ -460,7 +460,9 @@ public class Notification implements Parcelable | ||
460 | 460 | sb.append(this.vibrate[i]); |
461 | 461 | sb.append(','); |
462 | 462 | } |
463 | - sb.append(this.vibrate[N]); | |
463 | + if (N != -1) { | |
464 | + sb.append(this.vibrate[N]); | |
465 | + } | |
464 | 466 | sb.append("]"); |
465 | 467 | } else if ((this.defaults & DEFAULT_VIBRATE) != 0) { |
466 | 468 | sb.append("default"); |