summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Dave Mankoff <mankoff@google.com> 2024-02-06 18:37:29 +0000
committer Dave Mankoff <mankoff@google.com> 2024-02-06 18:42:32 +0000
commit75f5cbea9fd8672ab7a37dabedaedf53f7804cdd (patch)
tree062cfe6e0029e6dfa2505b57c1cc931dbab7202e /opengl/java
parent7593029ac6c19a77b6ce54fcf9dfcb9ad5a9a25c (diff)
Turn ContentProvider injection failures into errors.
Prior to this change, we simply logged this as a warning. This would hide errors, in particular `InvocationTargetException` which itself wraps any errors that happened during the call to `#inject`. For the bug in question, ZenMode is actually failing to initialize, which is causing the injection of the KeyguardSliceProvider to fail. This change does not fix ZenMode, but will resurface the stack trace appropriately. Moreover, any process that is failing to initialize its ContentProvider is already having a bad time, so if it didn't fail here, it was going to fail somewhere else. That is what we see on the bug. Flag: NA Bug: 323327880 Test: manually built and run Change-Id: Ic2189b6c142eb0a7ec23ca49924a551626b8c326
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions