Return error code if setting scaling mode fails

The return code from native_window_set_scaling_mode() was ignored.
Looking at the code review comments that introduced this code, it
seems like the intention was to return the error code in that case.

Change-Id: I9592cc378f0a0b960d37178aa0525fc17e8734ba
1 file changed