ART: Refactor abort code
am: 0ffbe5f14b

Change-Id: I21c10d568840278905901d4e5cb6f6447b4dc483