commit | 98dd5d9a85e8911cf41dea6198d4111f737a5892 | [log] [tgz] |
---|---|---|
author | Patrik Torstensson <totte@google.com> | Mon Mar 27 15:04:11 2017 +0100 |
committer | Patrik Torstensson <totte@google.com> | Mon Mar 27 19:53:48 2017 +0100 |
tree | 2eccd2b5fd0277994ca9846cb81abd0292a7dd78 | |
parent | 8683062a48dc2acb0fdda8681cfe42fa445754de [diff] |
SurfaceControl: Crash due to invalid JNI cast The (void*)buffer.get on ARM32 is 4 byte, so the calling convention will put the argument in [sp, #12]. However, the caller actually expects a long (the signature of gGraphicBufferClassInfo.builder), which means it will expect it to be in [sp, #16] Test: Tested on mtk device Fixes: 36631082 Change-Id: I0f723125e612d096c0d76ca3360d895f3f23f286