Revert "Frameworks native: Add new configuration qualifier for UI change on the fly (2/3)"

This reverts commit 20ac6a60381605957c114e64428c2412a042638e.
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