Skip to content
Commit 8a7de508 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Move listener registration out of constructor.

Work being done in the constructor was resuling in an NPE when a
callback was being called too quickly.

Add an idempotent init method to do all the setup work.

Fixes: 188015288
Test: atest SystemUITests
Change-Id: Idc0f3c7a6a53f447194b60486d814dcd76af9f25
parent cc4fa5f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment