Merge "FTP: Remove FTP Nofification on BT TURN OFF."
diff --git a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
index 2f9c2c9..ceec144 100644
--- a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
+++ b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
@@ -299,12 +299,10 @@
if (mSessionStatusHandler.hasMessages(MSG_INTERNAL_USER_TIMEOUT)) {
Intent i = new Intent(USER_CONFIRM_TIMEOUT_ACTION);
sendBroadcast(i);
- removeFtpNotification(NOTIFICATION_ID_AUTH);
+ removeFtpNotification(NOTIFICATION_ID_ACCESS);
}
// Release all resources
closeService();
- } else {
- removeTimeoutMsg = false;
}
} else if (action.equals(ACCESS_ALLOWED_ACTION)) {
if (!isWaitingAuthorization) {