commit | 2d8101bc8bb27c3c7e090f706ac40a3612507813 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Jan 20 17:52:02 2012 +0000 |
committer | Narayan Kamath <narayan@google.com> | Fri Jan 20 17:52:02 2012 +0000 |
tree | bc56194b7c7a1c37eb3fb325760e1a4c73227d59 | |
parent | af48709993faeb0d3665eb6a491aaec701e1ccd5 [diff] |
Fix a pseudo race condition in TtsEngineSettingsFragment. The issue is that Fragment.setVoiceDataDetails can be called before Fragment.getView. We guard against this issue. No thread visibility issues here because both functions are called on the UI thread. bug:5884355 Change-Id: Iad91b91c58b04dcb9f34f6b5ff8752f2e8295423