Merge "Stop depending on empty Settings"

This commit is contained in:
Julia Reynolds
2020-12-07 18:31:26 +00:00
committed by Android (Google) Code Review
5 changed files with 21 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ public class ZenAccessSettingObserverMixinTest {
mLifecycle.handleLifecycleEvent(ON_START);
mContext.getContentResolver().notifyChange(Settings.Secure.getUriFor(
Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES), null);
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS), null);
verify(mListener).onZenAccessPolicyChanged();
}
@@ -84,7 +84,7 @@ public class ZenAccessSettingObserverMixinTest {
mLifecycle.handleLifecycleEvent(ON_STOP);
mContext.getContentResolver().notifyChange(Settings.Secure.getUriFor(
Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES), null);
Settings.Secure.ENABLED_NOTIFICATION_LISTENERS), null);
verify(mListener, never()).onZenAccessPolicyChanged();
}