commit | acbd24cca66486ac2964427e4208af1c58d7d8e5 | [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:05:18 2021 +0000 |
tree | aeedc3002b1a3ac8a7c3fbe0f7bc631b04db8c89 | |
parent | cfc41eaf44c64477e955ef41f7a44933805b5e78 [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)