summaryrefslogtreecommitdiffstats
path: root/src/com/android/nfc/P2pEventManager.java
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-08-15 16:11:43 +0200
committerMartijn Coenen <maco@google.com>2011-08-15 16:18:58 +0200
commitfb8d1457e8467d50f253cf88cc47fd88d02ea704 (patch)
tree992ebc1fc7aecf3fb3901fe8f880ebd4c970fd19 /src/com/android/nfc/P2pEventManager.java
parent8a558ba19be56e71e6c2015dea862d150e6d07cb (diff)
downloadpackages_apps_nfc-fb8d1457e8467d50f253cf88cc47fd88d02ea704.zip
packages_apps_nfc-fb8d1457e8467d50f253cf88cc47fd88d02ea704.tar.gz
packages_apps_nfc-fb8d1457e8467d50f253cf88cc47fd88d02ea704.tar.bz2
Prevent rotation in animation activity.
Turns out setting configChanges="orientation" does not actually prevent the orientation change - it just prevents the activity from being restarted with a new intent. Restored old code for locking orientation. Change-Id: I136888f6424d3caf5081dd0a55087e263ccc88e4
Diffstat (limited to 'src/com/android/nfc/P2pEventManager.java')
-rw-r--r--src/com/android/nfc/P2pEventManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/nfc/P2pEventManager.java b/src/com/android/nfc/P2pEventManager.java
index ba1f57c..05fc234 100644
--- a/src/com/android/nfc/P2pEventManager.java
+++ b/src/com/android/nfc/P2pEventManager.java
@@ -208,7 +208,7 @@ public class P2pEventManager implements P2pEventListener {
}
/**
- * Finish up the animation, if running, and play ending sounds.
+ * Finish up the animation, if running.
* Must be called on the UI thread.
*/
void finish(boolean sendSuccess, boolean receiveSuccess) {