diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-05-01 00:30:10 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-05-12 16:48:30 +0900 |
commit | cc917ceefd694f58d8c9bffac18c9b017884ae22 (patch) | |
tree | 216ef14bac4ceb46b32eaf35c627b35cd2ee5b63 /telephony/java | |
parent | d9c7f2456957a5610cbbca1b2e31aa7b3574c50d (diff) | |
download | frameworks_base-cc917ceefd694f58d8c9bffac18c9b017884ae22.zip frameworks_base-cc917ceefd694f58d8c9bffac18c9b017884ae22.tar.gz frameworks_base-cc917ceefd694f58d8c9bffac18c9b017884ae22.tar.bz2 |
Fix a race when removing from LegacyTypeTracker.
Because LegacyTypeTracker#remove can send broadcasts that cause
apps to refresh their view of network state, it needs to be
called only after network state has been updated. This requires
that callers determine whether the network was the default, and
updating state, before calling remove().
While I'm at it, fix maybeLogBroadcast's concept of whether the
network it's logging about is/was the default. This has never
been correct.
Bug: 20613953
Change-Id: Ia175ac454aa4e0a4c4f0151866314ebada681438
Diffstat (limited to 'telephony/java')
0 files changed, 0 insertions, 0 deletions