am 0b3be03c: am 4186c977: Merge "Don\'t write IntentFilter autoVerify field to xml if false." into mnc-dev
* commit '0b3be03c29ee46838af6ee7e436f3bc935dc7288': Don't write IntentFilter autoVerify field to xml if false.
This commit is contained in:
@@ -1480,7 +1480,11 @@ public class IntentFilter implements Parcelable {
|
|||||||
* Write the contents of the IntentFilter as an XML stream.
|
* Write the contents of the IntentFilter as an XML stream.
|
||||||
*/
|
*/
|
||||||
public void writeToXml(XmlSerializer serializer) throws IOException {
|
public void writeToXml(XmlSerializer serializer) throws IOException {
|
||||||
serializer.attribute(null, AUTO_VERIFY_STR, Boolean.toString(getAutoVerify()));
|
|
||||||
|
if (getAutoVerify()) {
|
||||||
|
serializer.attribute(null, AUTO_VERIFY_STR, Boolean.toString(true));
|
||||||
|
}
|
||||||
|
|
||||||
int N = countActions();
|
int N = countActions();
|
||||||
for (int i=0; i<N; i++) {
|
for (int i=0; i<N; i++) {
|
||||||
serializer.startTag(null, ACTION_STR);
|
serializer.startTag(null, ACTION_STR);
|
||||||
|
|||||||
Reference in New Issue
Block a user