Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 84126397 authored by Catherine Liang's avatar Catherine Liang Committed by Android Build Coastguard Worker
Browse files

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
parent 1776b11f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment