summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2020-09-28 13:26:17 -0700
committerBrad Ebinger <breadley@google.com>2020-09-28 21:06:59 +0000
commitf1f2e0405e2951784cacb90f88dae46ae4d5e192 (patch)
tree81ab918f0961fa345b2517ed7bcac37d7cf934a1 /rs/java/android/renderscript/ProgramStore.java
parentf54a2f3e49ce55e2287240105a4858695940ab4a (diff)
Fix un-dismissable incoming call for auto-rejected calls
When the device receives an incoming call indication and quickly receives another call terminated indication (such as the auto reject case), there is the possiblity that the call terminated indication happens while onIncomingCall is still being processed. This is due to the fact that binder oneway calls are only guaranteed to be on the same binder thread for the same IBinder node. Since these callbacks are happening on two separate nodes potentially, there are running in two binder threads at the same time, causing race conditions. Instead, the onIncomingCall binder call should not be oneway (as it is required to complete before other indications should occur) and only return control back to the ImsService thread once the MmTelFeature#notifyIncomingCall call completes. Bug: 160213239 Test: incoming call, auto-rejected incoming call on MSIM Change-Id: I054e6b00656fc04f48f7f378076e29322daf59ad
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions