diff options
author | Sundeep Ghuman <sghuman@google.com> | 2017-04-18 19:51:46 -0700 |
---|---|---|
committer | Sundeep Ghuman <sghuman@google.com> | 2017-04-24 18:05:52 -0700 |
commit | 71f4a82b51f53ba7b99fc7f1d1f81a29b7c88072 (patch) | |
tree | 384664d3ce4f8234d820610e8a51a8f79262ba33 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e4964118c6f906d1529e00f241b3df9947102c3b (diff) |
Remove all pending callbacks in stopTracking.
This prevents callbacks occurring on the Settings UI thread in the
WifiSettings fragment after its Activity is already destroyed. When
removing pending ACCESS_POINTS_CHANGED_MESSAGES, release the lock.
Also fixed some flakey tests due to threading issues.
Bug: b/37472533
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I764caf52e38b7f7e33c67c7ea3aa3d2301095dca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions