summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2017-08-09 17:00:19 -0700
committerEric Erfanian <erfanian@google.com>2017-08-09 17:37:14 -0700
commit6c14d7739ac2b177035aa084060aaccdaa7a8ba7 (patch)
tree326e73199fe32125a7bcbbcdda4a64dc2a7c45a9 /Android.mk
parent4e0d3bcc3b9e962ee5b8cb9614a9a545d50b8882 (diff)
Some improvements to DialerStrictMode.
Only mutate the thread policy when on the main thread to prevent accidentally changing the policy for a non-main thread. The alternative here is Assert.isMainThread(), but that would make DialerStrictMode more difficult to use. Also switched one use of #disableDeathPenalty to the more concise #bypass. Bug: 64118795 Test: verified bugfood build does not crash on launch PiperOrigin-RevId: 164794473 Change-Id: I58db414cbb003241a1afcddabfd6557612351598
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions