OSDN Git Service

Bug fix: looper not enabled
authorOlivier Gaillard <gaillard@google.com>
Mon, 4 Feb 2019 10:42:34 +0000 (10:42 +0000)
committerOlivier Gaillard <gaillard@google.com>
Mon, 4 Feb 2019 13:42:30 +0000 (13:42 +0000)
commit4158938848d056efee59a3c934e4b91fac18f1c7
tree383961e262e23905cde968f39ac316f975347548
parent0c573ea5c6ec990ea6efcc36a7c730435cfa56b7
Bug fix: looper not enabled

Looper should not be enabled when we build the LooperStatsService so
that setEnabled is called and the observer is installed.

Test: atest LooperStatsTest
Change-Id: I8d8800a6a2222b2d67a2aacdc58ce631dc1c8217
services/core/java/com/android/server/LooperStatsService.java