Fix handling of initialization error
When an error occurs before mLooper has been initialized, the dtor will access uninitialized memory. This change initializes mLooper first, to avoid this error. Bug: 188502620 Test: Manual running of SensorPoseProvider-example Change-Id: I0a493ff766f53d17a9a2679efed693df702ba92c
Loading
Please register or sign in to comment