summaryrefslogtreecommitdiffstats
path: root/src/com/android/nfc/snep
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-08-09 16:39:28 +0200
committerMartijn Coenen <maco@google.com>2011-08-10 15:30:04 +0200
commite5b26d522885ed1cc30c0820ca59ed7c44707987 (patch)
tree6cb93abc7490974d6fb8073df56d7125a4be6e7f /src/com/android/nfc/snep
parent4467dca5650a170af5020c10a8ccb25f86f1007f (diff)
downloadpackages_apps_nfc-e5b26d522885ed1cc30c0820ca59ed7c44707987.zip
packages_apps_nfc-e5b26d522885ed1cc30c0820ca59ed7c44707987.tar.gz
packages_apps_nfc-e5b26d522885ed1cc30c0820ca59ed7c44707987.tar.bz2
Move 0-click animations to activity.
- Start activity instead of window overlay; - Implement "the real twist": need to twist back to share; - Implement receive animation (slide out); - General cleanup. Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
Diffstat (limited to 'src/com/android/nfc/snep')
-rw-r--r--src/com/android/nfc/snep/SnepServer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/nfc/snep/SnepServer.java b/src/com/android/nfc/snep/SnepServer.java
index 84bb673..0b2d709 100644
--- a/src/com/android/nfc/snep/SnepServer.java
+++ b/src/com/android/nfc/snep/SnepServer.java
@@ -266,4 +266,10 @@ public final class SnepServer {
}
}
}
+
+ public boolean isRunning() {
+ synchronized (SnepServer.this) {
+ return mServerRunning;
+ }
+ }
}