- For now, disable/enabling of global apps are prohibited.
Remove some codes to enable it
Change-Id: I2dd4c7873ce3432e0c3e10c5df18a1cab96a1d6e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
if (ret != PMINFO_R_OK)
goto catch;
- if ((job->req_type == REQUEST_TYPE_DISABLE_APP ||
- job->req_type == REQUEST_TYPE_ENABLE_APP) &&
- *is_global) {
- ret = PMINFO_R_ERROR;
- goto catch;
- } else if ((job->req_type == REQUEST_TYPE_DISABLE_GLOBAL_APP_FOR_UID ||
- job->req_type ==
- REQUEST_TYPE_ENABLE_GLOBAL_APP_FOR_UID) &&
+ if ((job->req_type == REQUEST_TYPE_DISABLE_GLOBAL_APP_FOR_UID ||
+ job->req_type ==
+ REQUEST_TYPE_ENABLE_GLOBAL_APP_FOR_UID) &&
!*is_global) {
ret = PMINFO_R_ERROR;
goto catch;