summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-09-04 11:17:52 +0200
committerMartijn Coenen <maco@google.com>2012-09-04 11:17:52 +0200
commitdb216e63dad45973ff4992098229208a518d658f (patch)
tree9267925bcc83ab4f69bb71716813e2dcea7b65c9 /src
parentf340f1a071a54c6ea4644fcef45c784a9be3c19a (diff)
downloadpackages_apps_nfc-db216e63dad45973ff4992098229208a518d658f.zip
packages_apps_nfc-db216e63dad45973ff4992098229208a518d658f.tar.gz
packages_apps_nfc-db216e63dad45973ff4992098229208a518d658f.tar.bz2
Add FLAG_ACTIVITY_NEW_TASK to Beam Handover intent.
Bug: 6925612 Change-Id: I37f49a150c4fc1763b2121e46fedf79d662b0a2b
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);