operationId = extras.getInt("operationId");
}
}
if ((operationCode != null)) {
if (Constants.AGENT_APP_PACKAGE_NAME.equals(intent.getPackage())) {
<BUG>Log.d(TAG, "EMM agent has sent a command. code: " + operationCode);
</BUG>
doTask(operationCode);
} else {
<BUG>Log.d(TAG, "Received command from external application. code: " + operationCode + " command: " + command);
</BUG>
switch(operationCode){

operationId = extras.getInt("operationId");
}
}
if ((operationCode != null)) {
if (Constants.AGENT_APP_PACKAGE_NAME.equals(intent.getPackage())) {
Log.d(TAG, "EMM agent has sent a command with operation code: " + operationCode);
doTask(operationCode);
} else {
Log.d(TAG, "Received command from external application. operation code: " + operationCode + " command: " + command);
switch(operationCode){
