adding win10 operation trigger alert

This commit is contained in:
Hasunie 2016-12-15 16:44:49 +05:30
parent 6857ba1b74
commit 1eb8c8e9db

View File

@ -248,7 +248,9 @@ public class OperationReply {
case POLICY: case POLICY:
if (this.syncmlDocument.getBody().getAlert() != null) { if (this.syncmlDocument.getBody().getAlert() != null) {
if ((Constants.INITIAL_ALERT_DATA.equals(this.syncmlDocument.getBody() if ((Constants.INITIAL_ALERT_DATA.equals(this.syncmlDocument.getBody()
.getAlert().getData()))) { .getAlert().getData())) ||
Constants.INITIAL_WIN10_ALERT_DATA.equals(this.syncmlDocument.getBody()
.getAlert().getData())) {
SequenceTag policySequence = new SequenceTag(); SequenceTag policySequence = new SequenceTag();
policySequence = buildSequence(operation, policySequence); policySequence = buildSequence(operation, policySequence);
syncmlBody.setSequence(policySequence); syncmlBody.setSequence(policySequence);