mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 926343 - Part 3: Bluetooth changes for adding clientId in nsIIccProvider. r=gyeh
This commit is contained in:
parent
63cc6d7b94
commit
dba3f9d142
@ -665,7 +665,8 @@ BluetoothHfpManager::HandleIccInfoChanged()
|
||||
NS_ENSURE_TRUE_VOID(icc);
|
||||
|
||||
nsCOMPtr<nsIDOMMozIccInfo> iccInfo;
|
||||
icc->GetIccInfo(getter_AddRefs(iccInfo));
|
||||
// TODO: Bug 921991 - B2G BT: support multiple sim cards
|
||||
icc->GetIccInfo(0, getter_AddRefs(iccInfo));
|
||||
NS_ENSURE_TRUE_VOID(iccInfo);
|
||||
|
||||
nsCOMPtr<nsIDOMMozGsmIccInfo> gsmIccInfo = do_QueryInterface(iccInfo);
|
||||
|
@ -276,7 +276,8 @@ BluetoothRilListener::StartIccListening()
|
||||
do_GetService(NS_RILCONTENTHELPER_CONTRACTID);
|
||||
NS_ENSURE_TRUE(provider, false);
|
||||
|
||||
nsresult rv = provider->RegisterIccMsg(mIccListener);
|
||||
// TODO: Bug 921991 - B2G BT: support multiple sim cards
|
||||
nsresult rv = provider->RegisterIccMsg(0, mIccListener);
|
||||
return NS_SUCCEEDED(rv);
|
||||
}
|
||||
|
||||
@ -287,7 +288,8 @@ BluetoothRilListener::StopIccListening()
|
||||
do_GetService(NS_RILCONTENTHELPER_CONTRACTID);
|
||||
NS_ENSURE_TRUE(provider, false);
|
||||
|
||||
nsresult rv = provider->UnregisterIccMsg(mIccListener);
|
||||
// TODO: Bug 921991 - B2G BT: support multiple sim cards
|
||||
nsresult rv = provider->UnregisterIccMsg(0, mIccListener);
|
||||
return NS_SUCCEEDED(rv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user