Revert "Revert "am: Allow more hidden apps on devices with lots of RAM""

This reverts commit 3634d2144afbac89fcd55b1aab22409bf384976b.