gralloc1: update aligned size of buffer in native handle

During buffer allocation, the aligned size of the buffer should
be updated in newly allocated native handle (private_handle_t)
before returning the native handle to the caller. Secure
playback has strict requirement like 1M aligned size, so
secure playback fails if the aligned size of buffer is not
updated in handle before returning to the caller.

Change-Id: I8d8da13048b8423c07ebb3a3923fb331e06e3db1
1 file changed