Skip to content

Commit 2aba0ec

Browse files
committed
Fix printing order of phone objects creation
1 parent 69acb6b commit 2aba0ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

telephony/java/com/android/internal/telephony/PhoneFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ public static void makeDefaultPhone(Context context) {
109109

110110
int phoneType = getPhoneType(networkMode);
111111
if (phoneType == Phone.PHONE_TYPE_GSM) {
112+
Log.i(LOG_TAG, "Creating GSMPhone");
112113
sProxyPhone = new PhoneProxy(new GSMPhone(context,
113114
sCommandsInterface, sPhoneNotifier));
114-
Log.i(LOG_TAG, "Creating GSMPhone");
115115
} else if (phoneType == Phone.PHONE_TYPE_CDMA) {
116+
Log.i(LOG_TAG, "Creating CDMAPhone");
116117
sProxyPhone = new PhoneProxy(new CDMAPhone(context,
117118
sCommandsInterface, sPhoneNotifier));
118-
Log.i(LOG_TAG, "Creating CDMAPhone");
119119
}
120120

121121
sMadeDefaults = true;

0 commit comments

Comments
 (0)