Merge "Remove obsolete restriction with allocations and dex cache."