commit | d91256993d66336bd51c0f443650433d19a880ac | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Tue Aug 24 08:53:38 2021 -0700 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Tue Aug 24 11:11:33 2021 -0700 |
tree | 17150f759b0fe6965209327cfc20e07a53b5915d | |
parent | f7adf32d2c5a33d2846536ed235948646202c9b9 [diff] |
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