frameworks: update Privacy Guard code in ActivityManagerService