base: add quick_exit emulation. am: 0c44256ae4 am: 63b499d93d
am: b2bc800270

Change-Id: I91d4b4dc725389e6a2365eeaa8e62d99f75737fe