Merge "Add a platform API for setting an allocation limit." am: 9d69d4ccae
am: ef4af2fb8c

Change-Id: Ie621ebc91cd27d3ecaf68dc41d12d0617e9f66c5