diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2014-11-10 22:04:16 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-11-10 22:04:16 -0800 |
commit | 5475aebf79c70a9967206aec7bd44177faf460da (patch) | |
tree | 4b3f78d20861dce29bd6dbe74a6e61b1d336dc24 /src/com/android/bluetooth/map | |
parent | 6d4632478511eee6f0bc333f244b9bfab42248d3 (diff) | |
parent | 259473669b65db48a829f61f1e7853a899bb8a70 (diff) | |
download | android_packages_apps_Bluetooth-5475aebf79c70a9967206aec7bd44177faf460da.tar.gz android_packages_apps_Bluetooth-5475aebf79c70a9967206aec7bd44177faf460da.tar.bz2 android_packages_apps_Bluetooth-5475aebf79c70a9967206aec7bd44177faf460da.zip |
Merge "MAP: Fix sent and delivery pendingIntent updatation for pushMsg"
Diffstat (limited to 'src/com/android/bluetooth/map')
-rw-r--r-- | src/com/android/bluetooth/map/BluetoothMapContentObserver.java | 8 |
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); |