Extend the BIND_APPLICATION_TIMEOUT
We're reporting an ANR if the app process doesn't finish the handling of bindApplication within the BIND_APPLICATION_TIMEOUT. But very often, due to the contended system resources, the app process just doesn't get enough CPU time to run. So now we'll extend the timeout by the time that this process is waiting for run. Also given the bindApplication includes the time the app spends on Application#onCreate(), relax the timeout to 15s by default. Bug: 304484667 Test: Manual Change-Id: I442e997fa6f30445ddeb2922146e837cc24d4174
Loading
Please register or sign in to comment