Android Framework: Treat OOM like SK_ABORT

Bug: b/242837789

Previously, failing to allocate memory from malloc resulted in the
following sequence of events:
- log statement
- failed SkASSERT (always ignored on Android)
- abort()

Oftentimes, when we get bugreports or crashes from users, the first
thing we see is the stack trace. This means we don't see the log
statement stating that memory allocation failed. We previously updated
SK_ABORT to include the log statement in the stack trace as part of
b/224771432. Call SK_ABORT to get the same behavior.

Change-Id: I0e0f831108712bb39161b6550166bb77c42c66b0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/579699
Reviewed-by: Robert Phillips <robertphillips@google.com>
Auto-Submit: Leon Scroggins <scroggo@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
1 file changed