summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Greg Kaiser <gkaiser@google.com> 2021-02-17 22:05:25 -0800
committer Greg Kaiser <gkaiser@google.com> 2021-02-17 22:05:25 -0800
commit1706759ae256634ca91af748b12a19c1968cbb34 (patch)
tree87ef9e176eada97a65dce943f2eaeef98a5ad447 /libs/binder/ProcessState.cpp
parent449f8e56d0ef253cd2efc1f0da036738eb59f636 (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
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions