commit | acf07d23d364b7c64ac21c1dd2135ebc6b998203 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Aug 07 12:14:49 2017 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Mon Aug 07 12:42:41 2017 -0700 |
tree | 658dcadb9191379ea1caee6254f590d5b8a124e8 | |
parent | 6860b955f2618dd435c62baf13c3f8cb2d29cdf5 [diff] |
Remove unused code that has a potential data race. The function waitForWindowFocus is accessing hasWindowFocus() that may change during the synchronized block. The function is currently not used. Use PollingCheck instead if necessary. Bug: 29591177 Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest Change-Id: Ib5399c4b00bf5ea468715ff99fb36235a87767cc