summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2018-11-28 17:14:54 +0100
committerLucas Dupin <dupin@google.com>2018-11-28 17:22:12 +0100
commitbf2fbd5b68b82838e36eae085c82fa9165038ecd (patch)
tree755e9f65a71dbd46205abe641d4bcf54e6e4d60b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7c94c8417daecf48611833bec9c570625f412b49 (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