| commit | 4bd422adc06e74bff7ca800ee13ae7ce01958f21 | [log] [tgz] |
|---|---|---|
| author | Nate Myren <ntmyren@google.com> | Thu Apr 21 12:00:19 2022 -0700 |
| committer | Nate Myren <ntmyren@google.com> | Fri Apr 22 21:09:51 2022 +0000 |
| tree | de5be6178b5e47745589f20cb461e92d5f3c4a63 | |
| parent | 911b51dd41f130a621ecb2e31d54fa2c4df503fd [diff] |
Only change state during permissions backup for backed up permissions There is currently a race condition where the permissions backup can retreive permissions state, then the notification permission migration changes the state out from under it, then the permissions backup resets The notification state back, by accident. To avoid this, only change permissions that were actually backed up. Fixes: 228869515 Test: manual Change-Id: I6cbe259b37f6431499a1037a8159569075a933b5