OSDN Git Service

Log number of known dependencies if Dependency throws an exception
authorEvan Laird <evanlaird@google.com>
Wed, 13 Sep 2017 18:05:37 +0000 (14:05 -0400)
committerEvan Laird <evanlaird@google.com>
Wed, 13 Sep 2017 19:33:29 +0000 (15:33 -0400)
commitf12a1f10ee4ddc1c6b17156df49ccce240af472a
tree6aff9fdf1d0f3f86c55a75249a9276ab3d0c095c
parent6f76cee0a5788d9833f4d6ac72a945bb85042c1c
Log number of known dependencies if Dependency throws an exception

This can provide a modicum of insight into why Dependency may be failing
to retrieve the required class. If, for instance, there is a race
condition then we would expect to see a smaller number of known
dependencies.

Dependency.

Bug: 65560049
Test: request a non-registered depdency from Depdency.java, then read
the logs.

Change-Id: I583287d0b59da321ab590f53a86c2d9b357304b2
packages/SystemUI/src/com/android/systemui/Dependency.java