am 07e1be62: Merge "Fix NPE caused by Change I4df27119." into gingerbread
Merge commit '07e1be62c7a8650313e7ad8690968c58ec8e88ad' into gingerbread-plus-aosp * commit '07e1be62c7a8650313e7ad8690968c58ec8e88ad': Fix NPE caused by Change I4df27119.
This commit is contained in:
@@ -5268,10 +5268,15 @@ public class Intent implements Parcelable, Cloneable {
|
||||
}
|
||||
first = false;
|
||||
b.append("dat=");
|
||||
if (mData.getScheme().equalsIgnoreCase("tel")) {
|
||||
b.append("tel:xxx-xxx-xxxx");
|
||||
} else if (mData.getScheme().equalsIgnoreCase("smsto")) {
|
||||
b.append("smsto:xxx-xxx-xxxx");
|
||||
String scheme = mData.getScheme();
|
||||
if (scheme != null) {
|
||||
if (scheme.equalsIgnoreCase("tel")) {
|
||||
b.append("tel:xxx-xxx-xxxx");
|
||||
} else if (scheme.equalsIgnoreCase("smsto")) {
|
||||
b.append("smsto:xxx-xxx-xxxx");
|
||||
} else {
|
||||
b.append(mData);
|
||||
}
|
||||
} else {
|
||||
b.append(mData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user