commit | 84126397a7eb4768d653264cda7e4110c3b4473c | [log] [tgz] |
---|---|---|
author | Catherine Liang <cathliang@google.com> | Mon Jun 17 20:12:46 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jun 25 00:27:58 2024 +0000 |
tree | bc8fcb5dff85229efda0842c1bf59b20d48b70b3 | |
parent | 1776b11f063989e77375d27926905f97fa47000c [diff] |
Fix notifications undo system (1/2) Adjust so NotficationSettingsRepository in frameworks/base emits the show notifications boolean in a suspend function, after it is retrieved from SecureSettingsRepository, instead of returning a default value immediately. Also added missing test NotificationsSnapshotRestorerTest. Flag: EXEMPT bug fix Bug: 326440143 Test: manually verified notifications toggle sets and resets correctly Test: manually verified reset button shows and hides correctly Test: existing notifications unit tests pass Test: new ThemePicker test NotificationsSnapshotRestorerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4d4aaff7a74842e1ea32c6038caad878fd7bfeb8) Merged-In: If580a54fdb920a6a17f7c605caf5359a868f0ec0 Change-Id: If580a54fdb920a6a17f7c605caf5359a868f0ec0