1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

find src/com/fsck/ -name \*.java|xargs astyle --style=ansi

--mode=java --indent-switches --indent=spaces=4 --convert-tabs
--unpad=paren
This commit is contained in:
Jesse Vincent 2010-07-06 10:29:26 +00:00
parent 96b93f7327
commit a826f33eb3
12 changed files with 153 additions and 141 deletions

View File

@ -4645,19 +4645,31 @@ public class MessagingController implements Runnable
switch (account.getVibratePattern())
{
case 1: src = pattern1; break;
case 2: src = pattern2; break;
case 3: src = pattern3; break;
case 4: src = pattern4; break;
case 5: src = pattern5; break;
case 1:
src = pattern1;
break;
case 2:
src = pattern2;
break;
case 3:
src = pattern3;
break;
case 4:
src = pattern4;
break;
case 5:
src = pattern5;
break;
default:
notif.defaults |= Notification.DEFAULT_VIBRATE;
break;
}
if (src != null) {
if (src != null)
{
long[] dest = new long[src.length * times];
for (int n = 0; n < times; n++) {
for (int n = 0; n < times; n++)
{
System.arraycopy(src, 0, dest, n * src.length, src.length);
}
notif.vibrate = dest;