commit | a2bcee619d91c9ff4821a85c9ea72b6391219309 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Sep 05 17:32:08 2013 +0100 |
committer | Narayan Kamath <narayan@google.com> | Fri Sep 06 09:21:10 2013 +0000 |
tree | 9e0228e8827712318f4bbdf56e4de6223d1faa07 | |
parent | 204831a79eceb06a8a7dffbc2685f3807759fb97 [diff] |
Remove synchronization in WifiMonitorSingleton. This isn't really required because the static initializer for WifiMonitorSingleton won't run until the first access to the (non primitive) static field "sInstance". Further, static initializers will be run precisely once (i.e first accesses to sInstance from multiple threads are safe). Change-Id: I78fae225e4c5cb917e7e7817522595ae026daf47