OSDN Git Service

Making it possible to call SIP calls with special allowed chars.
authorMagnus Strandberg <magnus.strandberg@sonyericsson.com>
Tue, 22 Mar 2011 07:03:58 +0000 (08:03 +0100)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Tue, 22 Mar 2011 07:03:58 +0000 (08:03 +0100)
commitb5c72ead014a509c0f84884d1f2dac1ff9deec8e
tree37515f9bc7852be8637b1846c4ddf0cf96418e9a
parentd973bed36cb4d4da1d97f309119f4114f60e7171
Making it possible to call SIP calls with special allowed chars.

Since String.replaceFirst uses regex and since SIP user names are
allowed to include regex charaters such as '+', the code must
fist convert the string to a literal pattern String before using
replaceFirst method.

Change-Id: I25eac852bd620724ca1c5b2befc023af9dae3c1a
telephony/java/com/android/internal/telephony/sip/SipPhone.java [changed mode: 0755->0644]
voip/java/com/android/server/sip/SipHelper.java