commit | c22c6d2d6721d902e31c747cf5550309a2872607 | [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> | Wed Apr 21 02:15:16 2021 +0000 |
tree | b981a2c8d39dd574316a1c4239d6482b12aaaa02 | |
parent | 6a4d041d50d7d26957272219e15d948a21a8d8ef [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)