| commit | 1706759ae256634ca91af748b12a19c1968cbb34 | [log] [tgz] |
|---|---|---|
| author | Greg Kaiser <gkaiser@google.com> | Wed Feb 17 22:05:25 2021 -0800 |
| committer | Greg Kaiser <gkaiser@google.com> | Wed Feb 17 22:05:25 2021 -0800 |
| tree | 87ef9e176eada97a65dce943f2eaeef98a5ad447 | |
| parent | 449f8e56d0ef253cd2efc1f0da036738eb59f636 [diff] |
Initialize two fields in constructor mIsIndividualMic was potentially being read uninitialized in onSensorPrivacyChanged(). In theory, mUserId isn't being read uninitialized with the current logic, but we choose to future-proof by initializing it to a known value. Bug: 136069189 Test: TreeHugger Change-Id: I60c76bfea0b224d9789ade2f2bdf35ffb8c1e361