Loading src/com/android/bluetooth/opp/BluetoothOppNotification.java +4 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,7 @@ class BluetoothOppNotification { } } b.setOngoing(true); b.setLocalOnly(true); Intent intent = new Intent(Constants.ACTION_LIST); intent.setClassName(Constants.THIS_PACKAGE_NAME, BluetoothOppReceiver.class.getName()); Loading Loading @@ -460,6 +461,7 @@ class BluetoothOppNotification { .setDeleteIntent( PendingIntent.getBroadcast(mContext, 0, deleteIntent, 0)) .setWhen(timeStamp) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_OUTBOUND_COMPLETE, outNoti); } else { Loading Loading @@ -525,6 +527,7 @@ class BluetoothOppNotification { .setDeleteIntent( PendingIntent.getBroadcast(mContext, 0, deleteIntent, 0)) .setWhen(timeStamp) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_INBOUND_COMPLETE, inNoti); } else { Loading Loading @@ -588,6 +591,7 @@ class BluetoothOppNotification { info.mDeviceName, info.mFileName))) .setContentInfo(Formatter.formatFileSize(mContext, info.mTotalBytes)) .setSmallIcon(R.drawable.bt_incomming_file_notification) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, n); } Loading src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −0 Original line number Diff line number Diff line Loading @@ -671,6 +671,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect .setDefaults(Notification.DEFAULT_SOUND) .setContentIntent(PendingIntent.getActivity(this, 0, clickIntent, 0)) .setDeleteIntent(PendingIntent.getBroadcast(this, 0, deleteIntent, 0)) .setLocalOnly(true) .build(); nm.notify(NOTIFICATION_ID_AUTH, notification); } Loading src/com/android/bluetooth/sap/SapServer.java +2 −0 Original line number Diff line number Diff line Loading @@ -263,6 +263,7 @@ public class SapServer extends Thread implements Callback { .setAutoCancel(false) .setPriority(Notification.PRIORITY_MAX) .setOnlyAlertOnce(true) .setLocalOnly(true) .build(); } else { sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, Loading Loading @@ -293,6 +294,7 @@ public class SapServer extends Thread implements Callback { .setAutoCancel(false) .setPriority(Notification.PRIORITY_MAX) .setOnlyAlertOnce(true) .setLocalOnly(true) .build(); } Loading Loading
src/com/android/bluetooth/opp/BluetoothOppNotification.java +4 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,7 @@ class BluetoothOppNotification { } } b.setOngoing(true); b.setLocalOnly(true); Intent intent = new Intent(Constants.ACTION_LIST); intent.setClassName(Constants.THIS_PACKAGE_NAME, BluetoothOppReceiver.class.getName()); Loading Loading @@ -460,6 +461,7 @@ class BluetoothOppNotification { .setDeleteIntent( PendingIntent.getBroadcast(mContext, 0, deleteIntent, 0)) .setWhen(timeStamp) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_OUTBOUND_COMPLETE, outNoti); } else { Loading Loading @@ -525,6 +527,7 @@ class BluetoothOppNotification { .setDeleteIntent( PendingIntent.getBroadcast(mContext, 0, deleteIntent, 0)) .setWhen(timeStamp) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_INBOUND_COMPLETE, inNoti); } else { Loading Loading @@ -588,6 +591,7 @@ class BluetoothOppNotification { info.mDeviceName, info.mFileName))) .setContentInfo(Formatter.formatFileSize(mContext, info.mTotalBytes)) .setSmallIcon(R.drawable.bt_incomming_file_notification) .setLocalOnly(true) .build(); mNotificationMgr.notify(NOTIFICATION_ID_PROGRESS, n); } Loading
src/com/android/bluetooth/pbap/BluetoothPbapService.java +1 −0 Original line number Diff line number Diff line Loading @@ -671,6 +671,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect .setDefaults(Notification.DEFAULT_SOUND) .setContentIntent(PendingIntent.getActivity(this, 0, clickIntent, 0)) .setDeleteIntent(PendingIntent.getBroadcast(this, 0, deleteIntent, 0)) .setLocalOnly(true) .build(); nm.notify(NOTIFICATION_ID_AUTH, notification); } Loading
src/com/android/bluetooth/sap/SapServer.java +2 −0 Original line number Diff line number Diff line Loading @@ -263,6 +263,7 @@ public class SapServer extends Thread implements Callback { .setAutoCancel(false) .setPriority(Notification.PRIORITY_MAX) .setOnlyAlertOnce(true) .setLocalOnly(true) .build(); } else { sapDisconnectIntent.putExtra(SapServer.SAP_DISCONNECT_TYPE_EXTRA, Loading Loading @@ -293,6 +294,7 @@ public class SapServer extends Thread implements Callback { .setAutoCancel(false) .setPriority(Notification.PRIORITY_MAX) .setOnlyAlertOnce(true) .setLocalOnly(true) .build(); } Loading