summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-09-06 00:37:20 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-06 00:37:20 -0700
commita396754698497971bfa0d7725b6866349f3af6e4 (patch)
tree339ccec024fdb701cfe1129b9e24b0e77ff45c43 /src
parent9ad72102a50635064cd9a2eb936d582ae6a35777 (diff)
parentdb216e63dad45973ff4992098229208a518d658f (diff)
downloadpackages_apps_nfc-a396754698497971bfa0d7725b6866349f3af6e4.zip
packages_apps_nfc-a396754698497971bfa0d7725b6866349f3af6e4.tar.gz
packages_apps_nfc-a396754698497971bfa0d7725b6866349f3af6e4.tar.bz2
am db216e63: Add FLAG_ACTIVITY_NEW_TASK to Beam Handover intent.
* commit 'db216e63dad45973ff4992098229208a518d658f': Add FLAG_ACTIVITY_NEW_TASK to Beam Handover intent.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/nfc/handover/HandoverManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/nfc/handover/HandoverManager.java b/src/com/android/nfc/handover/HandoverManager.java
index f77f780..8983389 100644
--- a/src/com/android/nfc/handover/HandoverManager.java
+++ b/src/com/android/nfc/handover/HandoverManager.java
@@ -390,7 +390,8 @@ public class HandoverManager implements BluetoothProfile.ServiceListener,
notBuilder.setContentText(mContext.getString(R.string.beam_touch_to_view));
Intent viewIntent = buildViewIntent();
- PendingIntent contentIntent = PendingIntent.getActivity(mContext, 0, viewIntent, 0);
+ PendingIntent contentIntent = PendingIntent.getActivity(mContext, 0, viewIntent,
+ Intent.FLAG_ACTIVITY_NEW_TASK);
notBuilder.setContentIntent(contentIntent);