In some applications , when I go to Settings > Application > any application detail , “Disable” button is disabled.
From the above link I know if an application is Home app or System app , it wont allow to disable that application .
If you check the isSystemPackage() API , it seems to verify if the app is signed with system signature.
Is it because it is a system app or because it is signed with System signature?
I can many system apps(kept in system/apps) have “Disable” button enabled.
Also , its not mentioned anywhere that apps with System signature can’t be removed.
Or , it is a case of Privileged app stored in system/priv-app.