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

Commit de7e7ae9 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Merge "Lock more of the things" into qt-dev

am: 688224b7

Change-Id: I4339f0084bbcd06d3a5d9321bbb9aee8c098cf1a
parents 110ee917 688224b7
Loading
Loading
Loading
Loading
+450 −376

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -940,12 +940,12 @@ public class PreferencesHelperTest extends UiServiceTestCase {
    @Test
    public void testClearLockedFields() {
        final NotificationChannel channel = getChannel();
        mHelper.clearLockedFields(channel);
        mHelper.clearLockedFieldsLocked(channel);
        assertEquals(0, channel.getUserLockedFields());

        channel.lockFields(NotificationChannel.USER_LOCKED_PRIORITY
                | NotificationChannel.USER_LOCKED_IMPORTANCE);
        mHelper.clearLockedFields(channel);
        mHelper.clearLockedFieldsLocked(channel);
        assertEquals(0, channel.getUserLockedFields());
    }