diff options
author | Lucas Dupin <dupin@google.com> | 2018-11-28 17:14:54 +0100 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-11-28 17:22:12 +0100 |
commit | bf2fbd5b68b82838e36eae085c82fa9165038ecd (patch) | |
tree | 755e9f65a71dbd46205abe641d4bcf54e6e4d60b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7c94c8417daecf48611833bec9c570625f412b49 (diff) |
Only register debug hooks when requested
Always registering them was causing ANRs because of blocking binder calls,
registering on a background thread also isn't ideal beacuse wake locks might
be released and let the device sleep.
Let's only register them when explicitly required.
Change-Id: I52c45fcb38c277903ece662afdd5e6c35cf2aac4
Fixes: 119436283
Test: adb shell setprop debug.aod_brightness 1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions