OSDN Git Service

Frameworks/base: Stop profiling on uncaught exception
authorAndreas Gampe <agampe@google.com>
Fri, 29 Jan 2016 04:11:41 +0000 (20:11 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 29 Jan 2016 18:45:14 +0000 (10:45 -0800)
commit4c79fea9efea7cfa739cf5b5f525ddadb28e52a6
tree9e6d4561ae0d3cf4207a861b7905028a10931773
parenta481b48dcfadc0aeaabeed0d0e35c4117840365d
Frameworks/base: Stop profiling on uncaught exception

When "handling" an uncaught exception, make an attempt to stop
profiling. In case profiling was active, this will avoid losing
the profiling buffer.

Bug: 26291225
Change-Id: Ie5f5517b46ed89d0456a4aac9d4ff3b713d1d8aa
core/java/android/app/ActivityThread.java
core/java/com/android/internal/os/RuntimeInit.java