summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/map/BluetoothMapContentObserver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/bluetooth/map/BluetoothMapContentObserver.java')
-rw-r--r--src/com/android/bluetooth/map/BluetoothMapContentObserver.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapContentObserver.java b/src/com/android/bluetooth/map/BluetoothMapContentObserver.java
index 8160809c5..4a8caaafb 100644
--- a/src/com/android/bluetooth/map/BluetoothMapContentObserver.java
+++ b/src/com/android/bluetooth/map/BluetoothMapContentObserver.java
@@ -1045,13 +1045,13 @@ public class BluetoothMapContentObserver {
Intent intent;
intent = new Intent(ACTION_MESSAGE_DELIVERY, null);
intent.putExtra("HANDLE", msgInfo.id);
- deliveryIntents.add(PendingIntent.getBroadcast(mContext, 0, intent,
- PendingIntent.FLAG_UPDATE_CURRENT));
+ deliveryIntents.add(PendingIntent.getBroadcast(mContext,(int)System.currentTimeMillis(),
+ intent, PendingIntent.FLAG_UPDATE_CURRENT));
intent = new Intent(ACTION_MESSAGE_SENT, null);
intent.putExtra("HANDLE", msgInfo.id);
- sentIntents.add(PendingIntent.getBroadcast(mContext, 0, intent,
- PendingIntent.FLAG_UPDATE_CURRENT));
+ sentIntents.add(PendingIntent.getBroadcast(mContext, (int)System.currentTimeMillis(),
+ intent,PendingIntent.FLAG_UPDATE_CURRENT));
}
Log.d(TAG, "sendMessage to " + msgInfo.phone);