Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c573e860 authored by Etan Cohen's avatar Etan Cohen Committed by Natiq Ahmed
Browse files

Fix concurrent access violation.

Change-Id: I8586629cafe585135f0f72ba011b65f81242fc22
parent 1c4ea0e8
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1586,7 +1586,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                r.callback.onServiceStateChanged(
                        new ServiceState(mServiceState[phoneId]));
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }

@@ -1613,7 +1613,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                r.callback.onSignalStrengthChanged((gsmSignalStrength == 99 ? -1
                        : gsmSignalStrength));
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }

@@ -1625,7 +1625,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                }
                r.callback.onCellInfoChanged(mCellInfo.get(phoneId));
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }

@@ -1638,7 +1638,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                r.callback.onMessageWaitingIndicatorChanged(
                        mMessageWaiting[phoneId]);
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }

@@ -1651,7 +1651,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                r.callback.onCallForwardingIndicatorChanged(
                        mCallForwarding[phoneId]);
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }

@@ -1676,7 +1676,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                r.callback.onDataConnectionStateChanged(mDataConnectionState[phoneId],
                        mDataConnectionNetworkType[phoneId]);
            } catch (RemoteException ex) {
                remove(r.binder);
                mRemoveList.add(r.binder);
            }
        }
    }