cdc81e8affe2f2e71aba54cbb9d13820f0c31858
Issue: TextClassifierService failed to invoke the callback to send the result back to client occasionally because the callback object may be GCed. And thus smart selection failed occasionally, as the client doesn't get a response back when it hits this issue. It won't fallback to local textclassifier due to the timeout specified in TextView. Cause: We thought that ITextClassifierCallback is a "cross process" reference, and so we only store a weak reference of it to avoid leak. And it turns out that it is wrong. As soon as the weak ref gets GCed in the service, that counts as dropping the callback. The service doesn't know about any strong references the client has. Bug: 138865849 Test: Try smart selection over 30 times, make sure smart action is shown for every single time. Change-Id: Ia9218cf67e8d67697a0fdff22c7918a55efc39ca
…
…
…
…
…
…
…
…
…
…
…
Merge "Create carrier config to define specific default value of APN types." into qt-qpr1-dev am:
c1a2db2320
Merge "Increased precision of Lat/Lng decoder and enabled BSSID list to be explicit (client)" into qt-r1-dev am:
4e027572e3 am: ac9c2723c6
Merge "Add a platform-compat-config to the framework services." am:
6162efbfa7 am: 8ee5669a5e am: 8c41982cbe am: 6333182547
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%