diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidDeviceUtils.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidDeviceUtils.java index b3a2727119..f7ca29855f 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidDeviceUtils.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidDeviceUtils.java @@ -248,7 +248,8 @@ public class AndroidDeviceUtils { } catch (DeviceDetailsMgtException e) { throw new OperationManagementException("Error occurred while updating the device location.", e); } - } else if (AndroidConstants.OperationCodes.INSTALL_APPLICATION.equals(operation.getCode())) { + } else if (AndroidConstants.OperationCodes.INSTALL_APPLICATION.equals(operation.getCode()) + || AndroidConstants.OperationCodes.UNINSTALL_APPLICATION.equals(operation.getCode())) { try { updateAppSubStatus(deviceIdentifier, operation.getId(), operation.getStatus().toString()); } catch (org.wso2.carbon.device.application.mgt.common.exception.ApplicationManagementException e) {