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

Change-Id: Ie75610910698d8ac1ea2609b60e3c2a8e4876261