mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
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:
parent
59a3b8b75b
commit
3988677a6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user