Bug 1088527 - Modify BluetoothOppManager.IsConnected to indicate whether profile is connected or not. r=btian

BluetoothOppManager.IsConnected() couldn't represent the connection status
of Opp profile since it only return true if there is an ongoing
file-transfer session.

This function was used to named |IsTransferring()| in Bug 827267, however,
it was renamed to |IsConnected()| when Bug 842948 landed.
This commit is contained in:
Jamin Liu 2014-12-26 16:58:11 +08:00
Родитель 59a3b8b75b
Коммит 3988677a6b
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1218,7 +1218,7 @@ BluetoothOppManager::CheckPutFinal(uint32_t aNumRead)
bool
BluetoothOppManager::IsConnected()
{
return (mConnected && !mSendTransferCompleteFlag);
return mConnected;
}
void

Просмотреть файл

@ -1238,7 +1238,7 @@ BluetoothOppManager::CheckPutFinal(uint32_t aNumRead)
bool
BluetoothOppManager::IsConnected()
{
return (mConnected && !mSendTransferCompleteFlag);
return mConnected;
}
void

Просмотреть файл

@ -1218,7 +1218,7 @@ BluetoothOppManager::CheckPutFinal(uint32_t aNumRead)
bool
BluetoothOppManager::IsConnected()
{
return (mConnected && !mSendTransferCompleteFlag);
return mConnected;
}
void

Просмотреть файл

@ -1238,7 +1238,7 @@ BluetoothOppManager::CheckPutFinal(uint32_t aNumRead)
bool
BluetoothOppManager::IsConnected()
{
return (mConnected && !mSendTransferCompleteFlag);
return mConnected;
}
void