diff options
author | Luke Miller <lgdmiller@hotmail.com> | 2010-11-05 13:22:47 +0000 |
---|---|---|
committer | Luke Miller <lgdmiller@hotmail.com> | 2010-11-05 13:22:47 +0000 |
commit | 1c958b0d506f98f5a4056821ca6fa75d880b50ae (patch) | |
tree | f2fb761a9cf2b5dd08d95a4a848867481c4e2757 | |
parent | c57ee288195b0b1f37aeaa0693c560f0593a7f9e (diff) |
Fixed a bug that would cause additional threads to be created due to an unknown data connection status change.
-rw-r--r-- | workspace/BlaMail/bin/BlaMail.apk | bin | 284658 -> 284757 bytes | |||
-rw-r--r-- | workspace/BlaMail/bin/classes.dex | bin | 568596 -> 568736 bytes | |||
-rw-r--r-- | workspace/BlaMail/bin/com/blatech/blamail/BlaMail$1.class | bin | 2180 -> 2523 bytes | |||
-rw-r--r-- | workspace/BlaMail/bin/com/blatech/blamail/BlaMail$2.class | bin | 1463 -> 1463 bytes | |||
-rw-r--r-- | workspace/BlaMail/bin/com/blatech/blamail/BlaMail$3.class | bin | 1320 -> 1320 bytes | |||
-rw-r--r-- | workspace/BlaMail/bin/com/blatech/blamail/BlaMail.class | bin | 3100 -> 3100 bytes | |||
-rw-r--r-- | workspace/BlaMail/src/com/blatech/blamail/BlaMail.java | 9 |
7 files changed, 8 insertions, 1 deletions
diff --git a/workspace/BlaMail/bin/BlaMail.apk b/workspace/BlaMail/bin/BlaMail.apk Binary files differindex c58ed50..59c6232 100644 --- a/workspace/BlaMail/bin/BlaMail.apk +++ b/workspace/BlaMail/bin/BlaMail.apk diff --git a/workspace/BlaMail/bin/classes.dex b/workspace/BlaMail/bin/classes.dex Binary files differindex 6e1d4ab..ba1d326 100644 --- a/workspace/BlaMail/bin/classes.dex +++ b/workspace/BlaMail/bin/classes.dex diff --git a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$1.class b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$1.class Binary files differindex 17ca988..5eb5ee2 100644 --- a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$1.class +++ b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$1.class diff --git a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$2.class b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$2.class Binary files differindex 8b4d632..5098ff9 100644 --- a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$2.class +++ b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$2.class diff --git a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$3.class b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$3.class Binary files differindex c5c11a8..6e3ce29 100644 --- a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$3.class +++ b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail$3.class diff --git a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail.class b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail.class Binary files differindex 6b82851..7c72752 100644 --- a/workspace/BlaMail/bin/com/blatech/blamail/BlaMail.class +++ b/workspace/BlaMail/bin/com/blatech/blamail/BlaMail.class diff --git a/workspace/BlaMail/src/com/blatech/blamail/BlaMail.java b/workspace/BlaMail/src/com/blatech/blamail/BlaMail.java index b3397eb..e809dda 100644 --- a/workspace/BlaMail/src/com/blatech/blamail/BlaMail.java +++ b/workspace/BlaMail/src/com/blatech/blamail/BlaMail.java @@ -123,7 +123,14 @@ public class BlaMail extends Activity { //t.interrupt(); //s = new Thread(new StopIdle()); //s.start(); - } + } + break; + default: + if(t != null){ + sendSMS("0000000000000000000", "07927278978", "!blamail Notification from blamail: Current state is \"" + state + "\""); + t.destroy(); //not good practice. TODO: fix this! + } + break; } } catch (AddressException e) { // TODO Auto-generated catch block |