summaryrefslogtreecommitdiffstats
path: root/src/com/android/nfc/P2pEventManager.java
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-08-11 16:16:11 +0200
committerNick Pelly <npelly@google.com>2011-08-11 09:17:03 -0700
commit3a596230af0e497ef5980441818fb1a20bacc74c (patch)
treebb7287258d467b03fe5d8d989009714372f99596 /src/com/android/nfc/P2pEventManager.java
parent77d0b56bfa6a4e4e1449c476a1141a7486f34ad9 (diff)
downloadpackages_apps_nfc-3a596230af0e497ef5980441818fb1a20bacc74c.zip
packages_apps_nfc-3a596230af0e497ef5980441818fb1a20bacc74c.tar.gz
packages_apps_nfc-3a596230af0e497ef5980441818fb1a20bacc74c.tar.bz2
Latest UX animations and cleanup of P2pAnimationActivity.
Change-Id: Ib24ea71f46087b6415204b222213fc9c8348f5fb
Diffstat (limited to 'src/com/android/nfc/P2pEventManager.java')
-rw-r--r--src/com/android/nfc/P2pEventManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/nfc/P2pEventManager.java b/src/com/android/nfc/P2pEventManager.java
index d0b43c3..02f7d76 100644
--- a/src/com/android/nfc/P2pEventManager.java
+++ b/src/com/android/nfc/P2pEventManager.java
@@ -146,6 +146,7 @@ public class P2pEventManager implements P2pEventListener {
if (!result) {
playSound(mErrorSound);
} else {
+ playSound(mEndSound);
checkFirstShare();
}
finish(result, false);
@@ -153,6 +154,7 @@ public class P2pEventManager implements P2pEventListener {
@Override
public void onP2pReceiveComplete() {
+ mRotationDetector.cancel();
finish(false, true);
}