commit | 65cbd16626492166c23be4a851de12a3ebac0786 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Wed Oct 08 11:26:02 2014 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Wed Oct 08 11:30:26 2014 -0700 |
tree | a8c51ab3f5de7ea56b8402e9f4648cacd4bed6fd | |
parent | c22b858c014433879898d47026293ef5bce38d68 [diff] |
Fix possible ANR in com.android.phone Creating a tone generator can potentially take a very long time in native code. Since SignalInfo tones are played only for CDMA phones (and rarely), instead of creating one everytime Telephony starts up, which can cause ANRs, delay the creation to a background thread and make it on-demand. Bug: 17862188 Bug: 12135722 Change-Id: I0a51a178b3c3590c95d1799d141861ac83e4a9f8