CarbonDev/android_frameworks_native — pull request #4 by nocoast (2013-03-16 08:42:33+00:00)
Title: ui: Allocate the custom buffer size in the failure case also

The custom buffer size was not being honored if memory allocation
failed in the first pass.
Also - removing an unnecessary check.

Change-Id: Ie501b2dda3843454405fec05fc898fec5912bd06