commit | dd71c30eb5dde848703d926d39f0fac1297ca939 | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Tue Apr 20 09:04:31 2021 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Apr 20 22:03:21 2021 +0000 |
tree | aeedc3002b1a3ac8a7c3fbe0f7bc631b04db8c89 | |
parent | 0aa6818e2da4bd96d655c445ab72d9bc5c9a6067 [diff] |
Fix typo in sensor privacy init Should be getting the value at index i, not using int i as a key. Also when iterating over the state we should be holding the lock. Test: Push sensor_privacy.xml file and reboot Fixes: 185881144 Change-Id: I09823d888b05b674b32254d39ab030ce0e6c2acf (cherry picked from commit 30a3a67dad3ae348c47f33976d36bdd28e322efe)