Add synchronized to toString.
authorWink Saville <wink@google.com>
Tue, 30 Apr 2013 02:09:27 +0000 (19:09 -0700)
committerWink Saville <wink@google.com>
Tue, 30 Apr 2013 02:09:27 +0000 (19:09 -0700)
commit0f94d3aebcf0daf154bf0876164844d09067f904
tree784c20b549ad89ca68ebf230c4f0608aefcbb27c
parent815af95fb1568fd7b1ab8e6a610189821de99c81
Add synchronized to toString.

If toString is called at the same time removeWaitingApn we can
get a ConncurrentModificationException.

Bug: 8727610
Change-Id: I95c2181a1a5abc1a28a9e4eb337b674e49847103
src/java/com/android/internal/telephony/dataconnection/ApnContext.java